Skip to content

Commit

Permalink
[doc] Update the launch configuration for Auth (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnukvmd authored Mar 6, 2024
2 parents 4744434 + 4f89bf9 commit 30d3c73
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions auth/docs/README.md
Original file line number Diff line number Diff line change
@@ -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/
```
10 changes: 5 additions & 5 deletions auth/docs/vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"]
}
]
Expand Down

0 comments on commit 30d3c73

Please sign in to comment.