Skip to content

Instantly share code, notes, and snippets.

@andrerpena
Last active April 16, 2018 04:47
Show Gist options
  • Save andrerpena/1bacece30f43312176910684d03daa06 to your computer and use it in GitHub Desktop.
Save andrerpena/1bacece30f43312176910684d03daa06 to your computer and use it in GitHub Desktop.
VS Code launch.json for debugging the current TypeScript file
{
"configurations": [
{
"name": "Current TS File",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/.bin/ts-node",
"args": ["${relativeFile}"],
"protocol": "inspector"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment