Skip to content

Instantly share code, notes, and snippets.

@tuan

tuan/launch.json

Created Feb 2, 2019
Embed
What would you like to do?
Debug configuration for rxjs
{
"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