node-inspect-debugger

Attach to Node.js processes via Chrome DevTools Protocol for scripted debugging.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/anilcan-kara/nozich-agent --skill node-inspect-debugger-anilcan-kara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/anilcan-kara/nozich-agent/tree/main/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/anilcan-kara/nozich-agent --skill node-inspect-debugger-anilcan-kara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When console logging isn't enough to diagnose hard bugs in Node.js, this Skill provides a structured workflow to drive Node's built-in inspector and the Chrome DevTools Protocol from the terminal. It enables deterministic debugging via breakpoints, stepping, call-stack exploration, local/closure scope dumps, and on-demand expression evaluation to rapidly reproduce and fix issues.

Core Features & Use Cases

  • Attach to a running Node.js process with node inspect for quick, interactive debugging.
  • Drive CDP-powered automation to set multiple breakpoints, collect state across runs, and script debugging sessions.
  • Use it for debugging CLI tools, TUI components, and long-running daemons by programmatically inspecting scopes and evaluating expressions.
  • Choose the most appropriate workflow: quick ad-hoc checks with node inspect or automated, scriptable debugging with a CDP client.

Quick Start

Launch your Node.js app with --inspect-brk and connect a CDP client 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 a Node.js CLI tool from the terminal?

Debug a Node.js CLI tool by launching it with --inspect-brk and connecting via the node inspect CLI to interactively set breakpoints and step through code.

What is the Chrome DevTools Protocol used for in Node.js?

The Chrome DevTools Protocol in Node.js enables programmatic debugging by allowing CDP clients to script breakpoints, inspect call stacks, and evaluate expressions remotely.

Can I set breakpoints in a daemonized Node.js app using CDP?

Yes, you can set breakpoints in a daemonized Node.js app by attaching a CDP client like chrome-remote-interface to the process launched with the --inspect flag.

What's the best way to inspect local and closure scopes in Node.js?

Inspect local and closure scopes by driving a CDP-powered debugging session to dump variables and evaluate expressions on demand during execution pauses.

When should I use node inspect instead of a CDP client for debugging?

Use node inspect for quick ad-hoc interactive debugging checks, and choose a CDP client when you need to automate debugging sessions and collect state across multiple runs.