# Debug Issue

> Help debug the current issue in the code by walking through the debugging process systematic...; keywords: debug, test, error, fix. Use only on explicit request; skip in routine implementation discussions.

- Skill: `gologo13/debug-issue` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gologo13/debug-issue`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gologo13/debug-issue/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gologo13 (https://skillmd.com/u/gologo13)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/gologo13/debug-issue

---


# Debug Issue

## Overview

Help debug the current issue in the code by walking through the debugging process systematically and providing clear, actionable solutions.

## Steps

1. **Problem Analysis**
    - Identify the specific problem or error
    - Understand the expected vs actual behavior
    - Trace the execution flow to find the root cause
2. **Debugging Strategy**
    - Add appropriate logging statements
    - Suggest debugging tools and techniques
    - Identify key variables and states to monitor
    - Recommend breakpoint locations
3. **Solution Approach**
    - Propose potential fixes with explanations
    - Consider multiple solution approaches
    - Evaluate trade-offs of different approaches
    - Provide step-by-step resolution plan
4. **Prevention**
    - Suggest ways to prevent similar issues
    - Recommend additional tests or checks
    - Identify code patterns that could be improved

## Debug Issue Checklist

- [ ] Identified the specific problem or error
- [ ] Understood expected vs actual behavior
- [ ] Traced execution flow to find root cause
- [ ] Added appropriate logging statements
- [ ] Proposed potential fixes with explanations
- [ ] Evaluated trade-offs of different approaches
- [ ] Provided step-by-step resolution plan
- [ ] Suggested ways to prevent similar issues
- [ ] Recommended additional tests or checks

