# debugger - Root Cause Debugger

> Root cause debugger for Cursor that isolates broken test suites, solves runtime exceptions, and eliminates hard-to-reproduce edge case bugs.

Canonical: https://www.agentickit.co/agents/debugger
Last updated: 2026-11-18

The debugger agent takes stack traces, failing CI logs, or unexpected runtime behaviors and traces them through the codebase to pinpoint root causes. It creates minimal reproduction test cases and verifies fixes before concluding.

## Capabilities
- Stack trace analysis and source map error mapping
- Memory leak and async race condition diagnostics
- Automated test failure reproduction and regression tests
- Clean, minimal bug fixes that do not introduce side effects

## Best for
- Fixing complex TypeScript errors and async promises bugs
- Resolving Next.js hydration failures and React render loops
- Debugging silent API failures and uncaught exceptions

**Claude Code grant:** `tools: Read, Write, Edit, Glob, Grep, Skill, Bash, TodoWrite` · `model: inherit`

## Related
- [error-handling](https://www.agentickit.co/skills/error-handling)
- [testing-vitest](https://www.agentickit.co/skills/testing-vitest)
- [typescript-strict](https://www.agentickit.co/skills/typescript-strict)
- [/fix](https://www.agentickit.co/commands/fix)
- [/audit](https://www.agentickit.co/commands/audit)
- [/sre-incident](https://www.agentickit.co/commands/sre-incident)
