Skip to content

Instantly share code, notes, and snippets.

@tuan
Created February 2, 2019 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuan/ee45de11186678e68a408260abf554fc to your computer and use it in GitHub Desktop.
Save tuan/ee45de11186678e68a408260abf554fc to your computer and use it in GitHub Desktop.
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