Last active
February 24, 2017 18:27
-
-
Save suresk/8be3b117d9a55b72e575d3e1b2e28894 to your computer and use it in GitHub Desktop.
Run a single mocha file in VS Code, with a dummy mocha.opts
This file contains 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
{ | |
"name": "Debug with mocha", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["--no-timeouts", "--opts", "${workspaceRoot}/test/mocha-debug.opts", "${relativeFile}"], | |
"cwd": "${workspaceRoot}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment