Last active
February 16, 2016 16:02
-
-
Save groksrc/a3ed4d9633f702d81e92 to your computer and use it in GitHub Desktop.
Configure Visual Studio Code to debug Mocha specs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/server.js", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"runtimeArgs": [ | |
"--nolazy" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"externalConsole": false, | |
"sourceMaps": false, | |
"outDir": null | |
}, | |
{ | |
"name": "Mocha", | |
"type": "node", | |
"request": "launch", | |
"program": "node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": [ | |
"test/suite.js", | |
"--colors" | |
], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { | |
"NODE_ENV": "development" | |
} | |
}, | |
{ | |
"name": "Attach", | |
"type": "node", | |
"request": "attach", | |
"port": 5858, | |
"sourceMaps": false, | |
"outDir": null, | |
"localRoot": "${workspaceRoot}", | |
"remoteRoot": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment