node-inspect-debugger

Automate Node.js debugging via V8 inspector and Chrome DevTools Protocol.

5|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill node-inspect-debugger-lengoctuong2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/lengoctuong2005/Branding-Focused-Skills/tree/main/antigravity/skills/hermes-collection/software-development/node-inspect-debugger
Command: npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill node-inspect-debugger-lengoctuong2005

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides solutions for debugging Node.js applications efficiently using the built-in V8 inspector and Chrome DevTools Protocol.

Core Features & Use Cases

  • Interactive Debugging: Offers two tools for debugging Node.js – node inspect for a CLI REPL and ndb for scriptable debugging.
  • Prefer node inspect: Ideal for quick checks, always available, and fast REPL.
  • Programmatic CDP: Automates breakpoints and state collection using chrome-remote-interface.
  • Use Case: Debugging long-lived servers, identifying issues in React/Ink UI, and inspecting closure values unreachable by console.log.

Quick Start

To start debugging a Node.js script with node inspect, run: node inspect path/to/script.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 application using Chrome DevTools Protocol?

You can debug Node.js applications by leveraging the built-in V8 inspector and Chrome DevTools Protocol for step-by-step execution and expression evaluation. This approach supports interactive terminal debugging and automation scripts.

What is the best way to inspect unreachable closure values in Node.js?

Using the V8 inspector via interactive debugging allows you to inspect closure values that are unreachable by standard console.log statements. You can set breakpoints and evaluate expressions directly within the execution context.

How do I start debugging a Node.js script with node inspect?

To start debugging a Node.js script with node inspect, run the command `node inspect path/to/script.js` in your terminal. This launches an interactive CLI REPL ideal for quick checks and fast debugging.

Can I automate breakpoints and state collection in Node.js?

Yes, you can automate breakpoints and state collection programmatically using the chrome-remote-interface to interact with the Chrome DevTools Protocol. This is ideal for automating debugging tasks in long-lived servers.

Does node inspect work for debugging long-lived Node.js servers?

Yes, the node inspect CLI and the Chrome DevTools Protocol are well suited for debugging long-lived Node.js servers. They provide interactive inspection and control to identify runtime issues effectively.