Created
December 20, 2022 13:14
-
-
Save taynguyen/7e8a7633b934563fb09245f962acfa8d to your computer and use it in GitHub Desktop.
VSCode debug typescript with ts-node launch configuration
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": "Ts-Node Debug", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "node", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"args": ["${relativeFile}"], // Debug selected file | |
"cwd": "${workspaceRoot}", | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": ["<node_internals>/**", "node_modules/**"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment