Skip to content

Instantly share code, notes, and snippets.

@js2me
Last active February 16, 2021 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save js2me/f17274ec4c25b468764efe061687b287 to your computer and use it in GitHub Desktop.
Save js2me/f17274ec4c25b468764efe061687b287 to your computer and use it in GitHub Desktop.
ts-node debugger for vs code
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// https://github.com/wclr/ts-node-dev/issues/9
"version": "0.2.0",
"configurations": [
{
"name":"ts-node (src/index.ts)",
"type":"node",
"request":"launch",
"protocol":"inspector",
"cwd":"${workspaceRoot}",
// or ts-node-dev
"runtimeExecutable":"${workspaceRoot}/node_modules/.bin/ts-node",
"args":[
"${workspaceRoot}/src/index.ts"
],
"restart":true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment