node-inspect-debugger

Debug Node.js applications via the built-in V8 inspector using CLI commands.

9|3|Updated May 18, 2026
One-click install
npx skills add https://github.com/jordanhubbard/mac --skill node-inspect-debugger-jordanhubbard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/jordanhubbard/mac/tree/main/src/mac/_hermes/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/jordanhubbard/mac --skill node-inspect-debugger-jordanhubbard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome-remote-interface, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The skill unit simplifies complex debugging in Node.js by offering easy access to a rich set of features such as breakpoints, expression evaluation, and stack walking directly through a CLI.

Core Features & Use Cases

  • CLI-Based Debugging: Interact with Node.js Inspector using terminal commands for quick setup and troubleshooting.
  • Programmatic CDP Integration: Automate breakpoints, state capture, and debugging scripts.
  • Use Case: A Node.js script hangs at an unresponsive function; attach to the running process and investigate variables, function call stacks, and CPU profiles directly in the CLI or using programmatic APIs.

Quick Start

Set up the debugger with 'node inspect yourscript.js'.

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 script from the CLI?

Debug a Node.js script from the CLI by running 'node inspect yourscript.js' to interact with the V8 inspector for setting breakpoints and evaluating expressions.

Can I automate Node.js debugging with programmatic scripts?

Automate Node.js debugging with programmatic scripts using Chrome DevTools Protocol integration to control breakpoints, capture state, and execute debugging routines automatically.

Does Node.js inspector debugging work with the Chrome DevTools Protocol?

Node.js inspector debugging works directly with the Chrome DevTools Protocol through the chrome-remote-interface dependency, enabling automated CDP integration and complex diagnostics.

What is the best way to investigate a hanging Node.js process?

Investigate a hanging Node.js process by attaching the inspector to the running execution to walk function call stacks, evaluate variables, and analyze CPU profiles.

Are there limitations to using terminal commands for Node.js debugging?

Terminal command debugging provides in-depth execution diagnostics but may lack the visual interface of browser DevTools, relying entirely on CLI text input for script modification and state capture.