Skip to content

Instantly share code, notes, and snippets.

@isaldin
Forked from cecilemuller/launch.json
Created March 5, 2020 10:16
Show Gist options
  • Save isaldin/ca116a212ea3830aa5bb2d09fa442011 to your computer and use it in GitHub Desktop.
Save isaldin/ca116a212ea3830aa5bb2d09fa442011 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