Skip to content

Instantly share code, notes, and snippets.

@mttchpmn
Created March 31, 2021 04:25
Show Gist options
  • Save mttchpmn/3a2ebdc39f929a822af251e06938ebc9 to your computer and use it in GitHub Desktop.
Save mttchpmn/3a2ebdc39f929a822af251e06938ebc9 to your computer and use it in GitHub Desktop.
VSCode Launch.json file for debugging current Typescript file
{
"version": "0.2.0",
"configurations": [
{
"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