debugging-strategies

Guide systematic debugging with reproduction, hypothesis testing, and profiling techniques.

38.6k|4.1k|Updated Jul 24, 2025
One-click install
npx skills add https://github.com/wshobson/agents --skill debugging-strategies-wshobson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-strategies
Source: https://github.com/wshobson/agents/tree/main/plugins/developer-essentials/skills/debugging-strategies
Command: npx skills add https://github.com/wshobson/agents --skill debugging-strategies-wshobson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms debugging from a frustrating chore into a systematic, efficient process, enabling you to quickly identify and resolve bugs and performance bottlenecks.

Core Features & Use Cases

  • Systematic Debugging: Follows a structured process (Reproduce, Gather Info, Hypothesize, Test) for effective problem-solving.
  • Tooling Guidance: Provides examples and configurations for debugging in JavaScript/TypeScript, Python, and Go.
  • Advanced Techniques: Covers binary search, differential debugging, trace debugging, and memory leak detection.
  • Use Case: You've encountered a persistent, intermittent bug in your Python application. This Skill guides you through logging, profiling, and systematic isolation to pinpoint the root cause.

Quick Start

Use the debugging-strategies skill to help me debug an intermittent bug in my Python application by following the systematic debugging process.

Frequently Asked Questions about debugging-strategies

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

FAQPage Schema
How do I systematically debug an intermittent bug in my Python application?

Systematically debug intermittent bugs by following a structured process: reproduce the issue, gather information, form hypotheses, and test strategies. Use logging and profiling tools to isolate the root cause of the erratic behavior in your codebase.

What is the best way to track down performance bottlenecks across different technology stacks?

Track down performance bottlenecks by using profiling tools and root cause analysis to identify slow operations. Apply systematic debugging techniques to efficiently pinpoint and resolve performance issues across JavaScript, Python, and Go environments.

How does differential debugging work for isolating code changes that introduce defects?

Differential debugging works by comparing code states or execution paths to isolate the specific change causing a defect. It complements binary search and trace debugging techniques to systematically narrow down the root cause of the bug.

Can I use these debugging strategies for production issues or only local development?

You can use these debugging strategies for production issues as well as local development. The systematic process explicitly addresses production issues, intermittent bugs, and performance bottlenecks across any codebase or technology stack.

Why should I use a systematic debugging process instead of ad hoc troubleshooting?

A systematic debugging process transforms troubleshooting from a frustrating chore into an efficient workflow. Following structured steps like reproduction, information gathering, and hypothesis testing ensures you quickly identify the root cause rather than guessing.

What profiling tools are recommended for memory leak detection in Go applications?

For memory leak detection in Go applications, the Skill provides guidance on using profiling tools and configurations. It covers advanced techniques like trace debugging and memory leak detection to help locate and resolve the leak.