Skip to content

Instantly share code, notes, and snippets.

@hiruthicShaSS
Created November 30, 2021 08:19
Show Gist options
  • Save hiruthicShaSS/b8398a7ebb6ead5e1b7b3a357cdafa95 to your computer and use it in GitHub Desktop.
Save hiruthicShaSS/b8398a7ebb6ead5e1b7b3a357cdafa95 to your computer and use it in GitHub Desktop.
launch.json file for eduserveMinmal project. Place this file under .vscode/ inside the project.
{
"configurations": [
{
"name": "Development",
"request": "launch",
"type": "dart",
"program": "lib/main_development.dart",
"args": [
"--flavor",
"development",
"--target",
"lib/main_development.dart"
]
},
{
"name": "Staging",
"request": "launch",
"type": "dart",
"program": "lib/main_staging.dart",
"args": ["--flavor", "staging", "--target", "lib/main_staging.dart"]
},
{
"name": "Production",
"request": "launch",
"type": "dart",
"program": "lib/main_production.dart",
"args": ["--flavor", "production", "--target", "lib/main_production.dart"]
},
{
"name": "Production (Self build)",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": ["--flavor", "production", "--target", "lib/main.dart"]
},
{
"name": "release",
"request": "launch",
"type": "dart",
"flutterMode": "release",
"program": "lib/main_production.dart",
"args": ["--flavor", "production", "--target", "lib/main_production.dart"]
},
{
"name": "profile",
"request": "launch",
"type": "dart",
"flutterMode": "profile",
"program": "lib/main_production.dart",
"args": ["--flavor", "production", "--target", "lib/main_production.dart"]
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment