debugging_tools

Diagnose software defects using console methods, breakpoints, network inspection, and structured logging.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jvsandhu/agentic-skills --skill debugging-tools-jvsandhu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging_tools
Source: https://github.com/jvsandhu/agentic-skills/tree/main/skills/debugging_tools
Command: npx skills add https://github.com/jvsandhu/agentic-skills --skill debugging-tools-jvsandhu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pino, axios.

What problem does it solve? Locating the root cause of bugs is slow and error-prone when developers rely on guesswork instead of a systematic debugging methodology across console output, breakpoints, network traffic, and logs. ## Core Features & Use Cases - Console & Debugger Techniques: Covers console.table, console.trace, console.time, the debugger statement, and Node.js inspection via node --inspect with Chrome DevTools. - Network & Logging Analysis: Uses Axios interceptors to inspect API requests and Pino for structured, leveled logging of application events and errors. - Three-Phase Workflow: Guides observation and reproduction, strategic debugging (binary search, heap snapshots), and fix verification with regression tests. - Use Case: When a production API intermittently fails, follow the workflow to reproduce the error, trace requests with interceptors, set breakpoints to find the faulty state, and add a regression test for the fix. ## Quick Start Use the debugging tools skill to help me diagnose why my Node.js API endpoint returns stale data, using breakpoints and structured logging.

Frequently Asked Questions about debugging_tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Node.js applications with breakpoints?

Start Node.js with node --inspect src/index.js, then open chrome://inspect in Chrome to attach DevTools. You can also place the debugger statement in code to trigger a breakpoint when DevTools is connected.

How to log HTTP requests with Axios interceptors?

Register an interceptor with axios.interceptors.request.use and log the config object before returning it. This captures every outgoing request's URL, headers, and payload for network analysis.

What console methods help with JavaScript debugging?

Beyond console.log, use console.table for arrays, console.trace for stack traces, console.group for organizing output, and console.time with console.timeEnd to measure operation duration.

How do I find a memory leak in JavaScript?

Take a Heap Snapshot in Chrome DevTools and analyze the largest retained objects. Compare snapshots before and after the suspected operation to identify objects that fail to be garbage collected.

When should I use Pino instead of console.log?

Use Pino for permanent, structured logging in applications where logs need levels, JSON formatting, and contextual fields like userId. Reserve console.log for temporary debugging that should be removed before release.