Created
May 7, 2019 12:41
-
-
Save vinaybedre/c2a15dbcab3385beb4c84d3defd04d41 to your computer and use it in GitHub Desktop.
launch.json to debug currently opened TS file in Visual Studio Code
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
| { | |
| "name": "Current TS File", | |
| "type": "node", | |
| "request": "launch", | |
| "args": ["${relativeFile}"], | |
| "runtimeArgs": ["--nolazy", "-r", "ts-node/register"], | |
| "sourceMaps": true, | |
| "cwd": "${workspaceRoot}", | |
| "protocol": "inspector" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment