Created
July 12, 2020 01:30
-
-
Save cdimascio/1cfc859b34c7e4fb7fe2542f9f9950c8 to your computer and use it in GitHub Desktop.
VSCode Debugging: Mocha with Typescript (launch configuration item)
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha All", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"-r", | |
"ts-node/register", | |
"--timeout", | |
"999999", | |
"--colors", | |
"${workspaceFolder}/test/**/*.spec.ts", | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"protocol": "inspector" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment