Last active
December 15, 2023 04:18
-
-
Save gitSambhal/caa1e92f572df760a7edfd202babe40e to your computer and use it in GitHub Desktop.
Debug Typescript Nodejs App in Vscode using ts-node
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
{ | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug - App", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"args": ["${workspaceFolder}/src/index.ts"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save the file in the

.vscode/launch.json
location in your typescrip project and then run it from theRun and Debug
section.