💻 Software Dev
Node.js Inspect Debugger
Debug Node.js applications via --inspect flag and Chrome DevTools Protocol CLI. Inspect heap, CPU profiles, breakpoints, and async stacks.
skill_view("node-inspect-debugger")
📖 Guide
Load with skill_view("node-inspect-debugger"). Start Node with --inspect flag → connect via Chrome DevTools or CLI inspector → set breakpoints, inspect variables, profile performance.
🔧 How To
Start: node --inspect app.js. Connect: chrome://inspect in Chrome. CLI: node inspect app.js. Step through code, inspect scopes, examine async stacks, profile CPU/memory.
⚠️ Pitfalls
--inspect exposes a debugging port — not for production. Use --inspect=127.0.0.1 to restrict to localhost. Node 18+ required for latest inspector features.
Related Skills
More skills in Software Dev