diff --git a/.vscode/launch.json b/.vscode/launch.json index 2e5a1bfbb56..47ce799d792 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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" + ] } ] }