VS Code debug typescript
Last active
June 5, 2019 01:15
-
-
Save thomasdunn/c76757ac655a864716aea226200bee47 to your computer and use it in GitHub Desktop.
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": "debug dev", | |
"type": "node", | |
"request": "launch", | |
"args": ["${workspaceRoot}/src/server.ts"], | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector", | |
"internalConsoleOptions": "openOnSessionStart", | |
"env": { | |
"TS_NODE_IGNORE": "false", | |
"NODE_ENV": "dev" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment