Skip to content

Instantly share code, notes, and snippets.

@vinaybedre
Created May 7, 2019 12:41
Show Gist options
  • Select an option

  • Save vinaybedre/c2a15dbcab3385beb4c84d3defd04d41 to your computer and use it in GitHub Desktop.

Select an option

Save vinaybedre/c2a15dbcab3385beb4c84d3defd04d41 to your computer and use it in GitHub Desktop.
launch.json to debug currently opened TS file in Visual Studio Code
{
"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