Skip to content

Instantly share code, notes, and snippets.

@gjuoun
Last active May 15, 2021 05:37
Show Gist options
  • Save gjuoun/2348ae03bc269de45e9f051bc0c410c0 to your computer and use it in GitHub Desktop.
Save gjuoun/2348ae03bc269de45e9f051bc0c410c0 to your computer and use it in GitHub Desktop.
VSCode Debugger configuration for typescript with node and deno
{
"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