The launch.json can be added to .vscode directory of your project.
This is for most @dojo/* packages that use grunt-dojo2. A different configuration would be required for
applications created with dojo create app.
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Run Unit Tests", | |
| "program": "${workspaceRoot}/node_modules/.bin/intern-client", | |
| "args": [ | |
| "reporters=${workspaceRoot}/node_modules/grunt-dojo2/lib/intern/Reporter", | |
| "config=_dist/tests/intern", | |
| "excludeInstrumentation=." | |
| ] | |
| } | |
| ] | |
| } |