Skip to content

Commit

Permalink
Merge pull request #2299 from nextcloud/feat/tool/adapt_vscode_launch…
Browse files Browse the repository at this point in the history
…_config_for_web

feat(tool): allow vscode to launch chrome with disabled security
  • Loading branch information
Leptopoda authored Jul 22, 2024
2 parents ea82bc7 + 078af8a commit 4ab3abf
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,33 @@
"name": "app",
"cwd": "packages/app",
"request": "launch",
"type": "dart"
"type": "dart",
"args": [
"--web-browser-flag",
"--disable-web-security"
]
},
{
"name": "app (profile mode)",
"cwd": "packages/app",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
"flutterMode": "profile",
"args": [
"--web-browser-flag",
"--disable-web-security"
]
},
{
"name": "app (release mode)",
"cwd": "packages/app",
"request": "launch",
"type": "dart",
"flutterMode": "release"
"flutterMode": "release",
"args": [
"--web-browser-flag",
"--disable-web-security"
]
}
]
}

0 comments on commit 4ab3abf

Please sign in to comment.