Created
March 24, 2020 18:14
-
-
Save greathmaster/de698d5ed8ae25ed57aec6aac2b6bb07 to your computer and use it in GitHub Desktop.
VSCode debugger settings for Mocha testing suite
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha All", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"--timeout", | |
"999999", | |
"--colors", | |
"${workspaceFolder}/test" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Current File", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"--timeout", | |
"999999", | |
"--colors", | |
"${file}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment