SuperAPI AI Directory

debug-troubleshoot

Coding & development

View repository

Updated 10-15 20:30

About this skill

Debug and Troubleshoot

Systematic debugging approach for Rust async code with Tokio, Turso, and redb.

Quick Reference

When to Use

  • Diagnosing runtime issues
  • Performance problems
  • Async deadlocks
  • Database connection issues
  • Panics and crashes

Debugging Tools

  1. Logging - tracing with RUST_LOG levels
  2. Tokio Console - Async task inspection
  3. Backtraces - Panic analysis
  4. Metrics - Performance profiling

See logging.md for tracing setup and issues.md for common problems.