| { |
| "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": "chrome", |
| "request": "launch", |
| "name": "Serve DDC app", |
| "url": "http://localhost:8080", |
| "webRoot": "${workspaceFolder}/packages/devtools_app/web", |
| "preLaunchTask": "Serve DDC" |
| }, |
| { |
| "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}" |
| } |
| ] |
| } |