ente/mobile/docs/vscode/launch.json
Manav Rathi ebe6774ff4 Allow developers to customize their VSCode configuration
For folks who're using the git integration from within VSCode, the top level
directory needs to be open in VSCode for using git GUI from VSCode.

However, for using the Run & debug configurations they need to open ente/mobile
is opened in VSCode.

As a solution

- gitignore .vscode
- provide sample VSCode configuration files is mobile/docs/vscode and auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it first)
2024-03-02 12:33:43 +05:30

51 lines
1.6 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Photos Android Prod",
"request": "launch",
"type": "dart",
"flutterMode": "debug",
"program": "mobile/lib/main.dart",
"args": ["--flavor", "independent"]
},
{
"name": "Photos Android Local",
"request": "launch",
"type": "dart",
"flutterMode": "debug",
"program": "mobile/lib/main.dart",
"args": [
"--flavor",
"independent",
"--dart-define",
"endpoint=http://localhost:8080",
"--dart-define",
"web-family=http://localhost:3003"
]
},
{
"name": "Photos iOS Prod",
"request": "launch",
"type": "dart",
"flutterMode": "debug",
"program": "mobile/lib/main.dart"
},
{
"name": "Photos iOS Local",
"request": "launch",
"type": "dart",
"flutterMode": "debug",
"program": "mobile/lib/main.dart",
"args": [
"--dart-define",
"endpoint=http://localhost:8080",
"--dart-define",
"web-family=http://localhost:3003"
]
}
]
}