---
name: debugging
description: Systematic debugging workflow for Replit projects
---

# Debugging

Follow these steps when debugging issues:

1. Reproduce the issue consistently
2. Check the Replit console for error output
3. Add targeted logging to isolate the failure
4. Fix the root cause, not the symptom
5. Add a test to prevent regression
