-
-
Save gugadev/51bc74c0d0eadc40f81aa5838a6083cf to your computer and use it in GitHub Desktop.
Run ts-node in VSCode Debugger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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