Created
February 2, 2019 16:47
-
-
Save tuan/ee45de11186678e68a408260abf554fc to your computer and use it in GitHub Desktop.
Debug configuration for rxjs
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": [ | |
"--opts", | |
"spec/support/default.opts", | |
"-r", | |
"ts-node/register", | |
"--timeout", | |
"999999", | |
"--colors", | |
"${workspaceFolder}/spec/**/*-spec.ts" | |
], | |
"env": { | |
"TS_NODE_PROJECT": "${workspaceFolder}/spec/tsconfig.json" | |
}, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Current File", | |
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
"args": [ | |
"--opts", | |
"spec/support/default.opts", | |
"-r", | |
"ts-node/register", | |
"--timeout", | |
"999999", | |
"--colors", | |
"${file}" | |
], | |
"env": { | |
"TS_NODE_PROJECT": "${workspaceFolder}/spec/tsconfig.json" | |
}, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"protocol": "inspector" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment