Debug — Systematic Bug Investigation
Launch the debugger agent to investigate and fix a bug using systematic root cause analysis.
Determine Scope
- If the user provides an error message, stack trace, or failing test — pass it directly
- If the user describes unexpected behavior — pass the description
- If no specifics given, the debugger will reproduce the issue first
After Debug
Present the debugger's findings:
- Root cause identified and fixed
- Or: root cause identified, fix needs user decision
If the fix touches multiple files or is complex, suggest running /devline:review on the changes.