Debug and Troubleshoot
Systematic debugging approach for Rust async code with Tokio, Turso, and redb.
Quick Reference
-
Logging - Tracing and log configuration
-
Tokio Console - Async task debugging
-
Common Issues - Common problems and fixes
-
Techniques - Debugging techniques
When to Use
-
Diagnosing runtime issues
-
Performance problems
-
Async deadlocks
-
Database connection issues
-
Panics and crashes
Debugging Tools
-
Logging - tracing with RUST_LOG levels
-
Tokio Console - Async task inspection
-
Backtraces - Panic analysis
-
Metrics - Performance profiling
See logging.md for tracing setup and issues.md for common problems.