A practical guide for debugging complex issues and running tests effectively, learned from investigating production regressions in large codebases.
When you encounter a bug report or failing test:
- Reproduce first - Create a minimal test case that demonstrates the exact issue
- Establish baseline - Run existing tests to see what currently works/breaks