Skip to content

Instantly share code, notes, and snippets.

@js2me
Forked from cecilemuller/launch.json
Created February 16, 2020 12:53
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 js2me/cb445a25b397b36735d58d5d19960c5e to your computer and use it in GitHub Desktop.
Save js2me/cb445a25b397b36735d58d5d19960c5e 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