Last active
May 15, 2021 05:37
-
-
Save gjuoun/2348ae03bc269de45e9f051bc0c410c0 to your computer and use it in GitHub Desktop.
VSCode Debugger configuration for typescript with node and deno
This file contains 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": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug Node", | |
"args": ["${relativeFile}"], | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"], | |
"sourceMaps": true, | |
"cwd": "${workspaceFolder}", | |
"protocol": "inspector", | |
"skipFiles": [ | |
"${workspaceFolder}/node_modules/**/*.js", | |
"<node_internals>/**/*.js" | |
] | |
}, | |
{ | |
"name": "Debug Deno", | |
"type": "node", | |
"request": "launch", | |
"cwd": "${workspaceFolder}", | |
"runtimeExecutable": "deno", | |
"runtimeArgs": ["run", "-A", "--inspect-brk"], | |
"args": ["${relativeFile}"], | |
"port": 9229 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment