[doc] Update the launch configuration for Auth (#705)
This commit is contained in:
commit
30d3c738f5
|
@ -1,3 +1,12 @@
|
||||||
## Developer docs
|
## Developer docs
|
||||||
|
|
||||||
Documentation and notes about more advanced or infrequently needed details.
|
Documentation and notes about more advanced or infrequently needed details.
|
||||||
|
|
||||||
|
### Running
|
||||||
|
|
||||||
|
If you're using VSCode, you can setup the launch configuration by copying the
|
||||||
|
template into your `.vscode` folder at the root of the project.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cp auth/docs/vscode/launch.json .vscode/
|
||||||
|
```
|
|
@ -6,14 +6,14 @@
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "debug",
|
"flutterMode": "debug",
|
||||||
"program": "lib/main.dart",
|
"program": "auth/lib/main.dart",
|
||||||
"args": ["--dart-define", "endpoint=http://localhost:8080"]
|
"args": ["--dart-define", "endpoint=http://localhost:8080"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Auth Android Dev",
|
"name": "Auth Android Dev",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"program": "lib/main.dart",
|
"program": "auth/lib/main.dart",
|
||||||
"args": [
|
"args": [
|
||||||
"--dart-define",
|
"--dart-define",
|
||||||
"endpoint=http://192.168.1.3:8080",
|
"endpoint=http://192.168.1.3:8080",
|
||||||
|
@ -25,21 +25,21 @@
|
||||||
"name": "Auth iOS Dev",
|
"name": "Auth iOS Dev",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"program": "lib/main.dart",
|
"program": "auth/lib/main.dart",
|
||||||
"args": ["--dart-define", "endpoint=http://192.168.1.30:8080"]
|
"args": ["--dart-define", "endpoint=http://192.168.1.30:8080"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Auth iOS Prod",
|
"name": "Auth iOS Prod",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"program": "lib/main.dart",
|
"program": "auth/lib/main.dart",
|
||||||
"args": ["--target", "lib/main.dart"]
|
"args": ["--target", "lib/main.dart"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Auth Android Prod",
|
"name": "Auth Android Prod",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"program": "lib/main.dart",
|
"program": "auth/lib/main.dart",
|
||||||
"args": ["--target", "lib/main.dart", "--flavor", "independent"]
|
"args": ["--target", "lib/main.dart", "--flavor", "independent"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue