Created
July 26, 2017 07:40
-
-
Save arijusg/d7854484976683ffc04fa03da6676583 to your computer and use it in GitHub Desktop.
Typescript mocha test debug setup
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
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Mocha Tests 2", | |
| "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
| "protocol": "inspector", | |
| "args": [ | |
| "-u", | |
| "tdd", | |
| "--no-timeouts", | |
| "-r", | |
| "ts-node/register", | |
| "--colors", | |
| "${workspaceRoot}/app/**/*.spec.ts*" | |
| ], | |
| "outFiles": [ | |
| "${workspaceRoot}/dist" | |
| ], | |
| "sourceMaps": true, | |
| "cwd": "${workspaceRoot}", | |
| "runtimeExecutable": null, | |
| "internalConsoleOptions": "openOnSessionStart", | |
| "stopOnEntry": false, | |
| "env": { | |
| "NODE_ENV": "testing" | |
| }, | |
| "skipFiles": [ | |
| "node_modules/**/*.js", | |
| "<node_internals>/**/*.js" | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment