---
name: debugging
description: Systematic debugging workflow for production failures and test regressions.
---

# Debugging

1. Reproduce the issue with a minimal test case
2. Identify the root cause using logs and stack traces
3. Write a failing test that captures the bug
4. Implement the fix
5. Verify the fix resolves the original issue
