node-inspect-debugger

Control Node.js debugging via the Chrome DevTools Protocol and inspector.

12|2|Updated Feb 2, 2020
One-click install
npx skills add https://github.com/servitola/dotfiles --skill node-inspect-debugger-servitola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/servitola/dotfiles/tree/main/claude-code/skills/node-inspect-debugger
Command: npx skills add https://github.com/servitola/dotfiles --skill node-inspect-debugger-servitola

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Debug Node.js programmatically from the terminal via the built-in inspector, enabling breakpoints and advanced state introspection.

Core Features & Use Cases

  • Drive node inspect sessions and CDP-based tools to set breakpoints, inspect scope, and automate debugging workflows.
  • Attach to running Node.js processes and TBIs (TypeScript/Deno-like contexts) via inspector URL, for non-intrusive debugging.
  • Use when you need reproducible, scriptable debugging across runs and environments.

Quick Start

Launch a Node.js script with the inspector enabled and attach using node inspect to begin debugging.

Frequently Asked Questions about node-inspect-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Node.js programmatically from the terminal?

Node.js debugging from the terminal is automated by programmatically controlling the built-in inspector and Chrome DevTools Protocol to set breakpoints and inspect scope. This Skill drives paused sessions via a REPL and CDP automation for scriptable, reproducible debugging workflows.

Can I attach a debugger to a running Node.js process without restarting it?

Yes, attaching to running Node.js processes is supported by connecting via the inspector URL. This enables non-intrusive debugging of already active scripts, allowing you to inspect state and set breakpoints without restarting the process or interrupting execution flow.

How do I set breakpoints in Node.js using the Chrome DevTools Protocol?

Breakpoints are set by driving CDP-based tools and the built-in inspector through scriptable patterns. This approach automates Node.js debugging sessions by controlling the paused state, inspecting scope, and executing inspector commands programmatically rather than manually interacting with the debugger.

What's the best way to automate reproducible debugging workflows across Node.js environments?

Automating reproducible debugging across runs and environments is achieved by launching scripts with --inspect or --inspect-brk and driving the session through CDP automation. This programmatic control over the built-in inspector ensures consistent breakpoint behavior and state introspection every time.

Does this Node.js inspector approach work with TypeScript or Deno-like contexts?

The inspector supports attaching to running processes and TBIs, including TypeScript or Deno-like contexts, via the inspector URL. This allows non-intrusive debugging across compatible runtimes that expose the standard Node.js inspector protocol for CDP automation and REPL control.

When should I use programmatic CDP automation instead of a standard interactive debugger?

Programmatic CDP automation is ideal when you need reproducible, scriptable debugging across runs and environments rather than manual inspection. Use it to automate breakpoint setting, scope introspection, and paused session driving, replacing interactive workflows with repeatable Node.js debugging scripts.