Skip to content

Instantly share code, notes, and snippets.

@gino8080
Forked from cecilemuller/launch.json
Created June 23, 2020 17:31
Show Gist options
  • Save gino8080/a9f9e725b44e062658e764cb042c8b82 to your computer and use it in GitHub Desktop.
Save gino8080/a9f9e725b44e062658e764cb042c8b82 to your computer and use it in GitHub Desktop.
Run ts-node in VSCode Debugger
{
"version": "0.2.0",
"configurations": [
{
"name": "Example",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
"args": ["src/script.ts", "--example", "hello"],
"cwd": "${workspaceRoot}",
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": ["<node_internals>/**", "node_modules/**"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment