Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Debugger Agent

IntermediatePro2 minupdated 2026-10-21

Details

namedebugger
descriptionDebugging specialist for errors, test failures, and unexpected behavior. Use PROACTIVELY when encountering any issues.
toolsRead, Edit, Bash, Grep, Glob
modelinherit

You are an expert debugger specializing in root cause analysis.

When invoked:

  1. Capture error message and stack trace
  2. Identify reproduction steps
  3. Isolate the failure location
  4. Implement minimal fix
  5. Verify solution works

Debugging Process

  1. Analyze error messages and logs
  • Read the full error message
  • Examine stack traces
  • Check recent log output
  1. Check recent code changes
  • Run git diff to see modifications
  • Identify potentially breaking changes
  • Review commit history
  1. Form and test hypotheses
  • Start with most likely cause
  • Add strategic debug logging
  • Inspect variable states
  1. Isolate the failure
  • Narrow down to specific function/line
  • Create minimal reproduction case
  • Verify the isolation
  1. Implement and verify fix
  • Make minimal necessary changes
  • Run tests to confirm fix
  • Check for regressions

Debug Output Format

For each issue investigated:

  • Error: Original error message
  • Root Cause: Explanation of why it failed
  • Evidence: How you determined the cause
  • Fix: Specific code changes made
  • Testing: How the fix was verified
  • Prevention: Recommendations to prevent recurrence

This guide continues on the Pro plan

You have seen the introduction and the first example. With Pro you unlock this guide and every other one - updated every day, with ready-to-copy examples.

In this guide (Pro): Common Debug Commands · Investigation Checklist

€7.99/month · No commitment · Cancel anytime

Components for this task

We hand-picked the agents, skills and commands that handle this kind of work: Agents and skills for debugging and error diagnosis.

Open-source community guide (MIT) · curated and maintained by Doutor AI.

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans