| { |
| "version": "0.2.0", |
| "configurations": [ |
| { |
| "name": "Flutter", |
| "type": "dart", |
| "request": "launch", |
| "program": "lib/main.dart", |
| "cwd": "${workspaceFolder}/packages/devtools_app", |
| // TODO: I can't get the flutter device selector to show up from the top level |
| // directory. I can get it when running vscode on packages/devtools_app. |
| "args": [ |
| "-d", |
| "chrome" |
| ] |
| }, |
| { |
| "type": "dart", |
| "request": "launch", |
| "name": "Run Server with Release Build", |
| "program": "bin/devtools.dart", |
| "cwd": "packages/devtools", |
| "args": [ |
| "--launch-browser", |
| "--machine", |
| "--enable-notifications" |
| ], |
| "preLaunchTask": "Build Release Package" |
| }, |
| { |
| "name": "Current File", |
| "type": "dart", |
| "request": "launch", |
| "program": "${file}" |
| }, |
| { |
| "name": "Current File (WEBDEV_RELEASE=true)", |
| "type": "dart", |
| "request": "launch", |
| "codeLens": { |
| "for": [ |
| "run-test", |
| "run-test-file", |
| "debug-test", |
| "debug-test-file", |
| ], |
| "path": "packages/devtools_app/test/integration_tests", |
| "title": "${debugType} (release)" |
| }, |
| "env": { |
| "WEBDEV_RELEASE": true, |
| } |
| } |
| ] |
| } |