node-inspect-debugger

Diagnose Node.js applications via the Chrome DevTools Protocol.

Updated May 21, 2026
One-click install
npx skills add https://github.com/samlaggz/hermes-agent-sam --skill node-inspect-debugger-samlaggz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/samlaggz/hermes-agent-sam/tree/main/backup/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/samlaggz/hermes-agent-sam --skill node-inspect-debugger-samlaggz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js debugging can be tedious; this skill provides an integrated approach to inspect and control Node processes via the built-in inspector and CDP.

Core Features & Use Cases

  • Node.js inspect CLI for fast, zero-install debugging with REPL-like capabilities.
  • CDP-based debugging using ndB or chrome-remote-interface for scripted breakpoints, scope dumps, and evaluation across runs.
  • Attaching to running processes or starting with --inspect/--inspect-brk to diagnose UI-tui components and long-running workers.

Quick Start

Launch your target with node --inspect-brk script.js and attach a debugger using node inspect.

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 running Node.js process using the Chrome DevTools Protocol?

You can debug a running Node.js process by attaching the built-in Node.js inspector to it. This connects via the Chrome DevTools Protocol, allowing you to automate breakpoints, step execution, and inspect the scope of UI-tui and long-running worker components.

What is the difference between starting Node.js with --inspect and --inspect-brk?

Starting Node.js with --inspect allows the process to run immediately while listening for a debugger, whereas --inspect-brk pauses execution at the first line until a debugger attaches. Both enable CDP-based diagnostics for your scripts.

Can I automate breakpoints and scope inspection in Node.js without extra dependencies?

Yes, you can use the built-in Node.js inspect CLI for zero-install debugging with REPL-like capabilities. It supports automating breakpoints, stepping through execution, and dumping scope variables directly from your terminal.

How do I script Node.js debugging workflows with chrome-remote-interface?

You can use chrome-remote-interface as optional CDP tooling to programmatically script debugging workflows. This enables automated breakpoints, scope evaluation, and controlled step execution across multiple runs of your Node.js application.

Does the Node.js inspect CLI support debugging for TUI components?

Yes, the Node.js inspect CLI applies to diagnosing UI-tui and TUI components. You can attach it to running processes or start your application with inspector flags to evaluate interactive terminal interfaces.

Why would I use CDP tooling instead of the built-in Node.js inspect CLI?

The built-in inspect CLI offers fast, zero-install interactive debugging, while CDP tooling like ndB or chrome-remote-interface enables scripted, programmable workflows with automated scope dumps and evaluation across runs.