Skip to content

Instantly share code, notes, and snippets.

@gugadev
Forked from cecilemuller/launch.json
Created February 2, 2020 14:43
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 gugadev/51bc74c0d0eadc40f81aa5838a6083cf to your computer and use it in GitHub Desktop.
Save gugadev/51bc74c0d0eadc40f81aa5838a6083cf to your computer and use it in GitHub Desktop.
Run ts-node in VSCode Debugger
{
"version": "0.2.0",
"configurations": [
{
"name": "Node Inspector",
"type": "node",
"request": "launch",
"args": ["${workspaceRoot}/src/service.ts"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart",
"env": {
"TS_NODE_IGNORE": "false"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment