Created
February 13, 2018 23:28
-
-
Save maxencefrenette/2c098de8883d21647f49b19e03aa9989 to your computer and use it in GitHub Desktop.
Typescript + VSCode Debugging
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": [ | |
// Taken from https://medium.com/spektrakel-blog/debugging-typescript-from-vscode-3cb3a182bf63 | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch current file w/ ts-node", | |
"protocol": "inspector", | |
"args": ["${relativeFile}"], | |
"cwd": "${workspaceRoot}", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"internalConsoleOptions": "openOnSessionStart" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment