Use the simplest tool that can answer the question you are asking.
Use:
- Logs
- Traces
- Breakpoints
- Temporary instrumentation
Use:
- Diff tools
- Git history
- Structured log comparison
- Database snapshots
Use:
- Debugger
- REPL
- Memory profiler
- Admin or diagnostic endpoints
Use:
- Network inspector
- Proxy logs
- Trace spans
- Request/response capture
Use:
- Profiler
- Sampling tools
- Timing logs
- Load reproduction
Use:
- Regression tests
- Reproduction tests
- Integration tests
- Targeted assertions
Pick the tool that reduces uncertainty the fastest, not the tool that feels most sophisticated.