[doc] Update the launch configuration for Auth
This commit is contained in:
parent
4744434a62
commit
4f89bf9eb5
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
## Developer docs
|
||||
|
||||
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",
|
||||
"type": "dart",
|
||||
"flutterMode": "debug",
|
||||
"program": "lib/main.dart",
|
||||
"program": "auth/lib/main.dart",
|
||||
"args": ["--dart-define", "endpoint=http://localhost:8080"]
|
||||
},
|
||||
{
|
||||
"name": "Auth Android Dev",
|
||||
"request": "launch",
|
||||
"type": "dart",
|
||||
"program": "lib/main.dart",
|
||||
"program": "auth/lib/main.dart",
|
||||
"args": [
|
||||
"--dart-define",
|
||||
"endpoint=http://192.168.1.3:8080",
|
||||
|
@ -25,21 +25,21 @@
|
|||
"name": "Auth iOS Dev",
|
||||
"request": "launch",
|
||||
"type": "dart",
|
||||
"program": "lib/main.dart",
|
||||
"program": "auth/lib/main.dart",
|
||||
"args": ["--dart-define", "endpoint=http://192.168.1.30:8080"]
|
||||
},
|
||||
{
|
||||
"name": "Auth iOS Prod",
|
||||
"request": "launch",
|
||||
"type": "dart",
|
||||
"program": "lib/main.dart",
|
||||
"program": "auth/lib/main.dart",
|
||||
"args": ["--target", "lib/main.dart"]
|
||||
},
|
||||
{
|
||||
"name": "Auth Android Prod",
|
||||
"request": "launch",
|
||||
"type": "dart",
|
||||
"program": "lib/main.dart",
|
||||
"program": "auth/lib/main.dart",
|
||||
"args": ["--target", "lib/main.dart", "--flavor", "independent"]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue