Skip to content

Instantly share code, notes, and snippets.

@agniswarm
Forked from cecilemuller/launch.json
Created April 29, 2020 09:16
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 agniswarm/8e093e6d6a602d65ce2c7fe87363c8bf to your computer and use it in GitHub Desktop.
Save agniswarm/8e093e6d6a602d65ce2c7fe87363c8bf 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