Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ts-add-to-debugNew to Visual Studio Code? Get it now.
ts-add-to-debug

ts-add-to-debug

arichy

|
1,066 installs
| (0) | Free
debug for ts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ts-debugger README

This is a simple extension to auto add a configuration to vscode launch.json for debugging a typescript file.

You need to install typescript, ts-node, tsconfig-paths for real debugging.

usage: run commant ts-add-to-debug then input the name. It will add an object as follow to root/.vscode/launch.json (create if not exists).

 {
    type: "node",
    request: "launch",
    name: "this is the name you input"
    skipFiles: ["<node_internals>/**"],
    program: "this is file absolute path"
    runtimeArgs: ["-r", "ts-node/register", "-r", "tsconfig-paths/register"],
  }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft