Debugging
Quick Reference
# Enable debug logging
export RUST_LOG=debug
export RUST_BACKTRACE=1
# Run with debug output
cargo run --bin gateway_nodeLogging
Log Levels
Level
Use For
Configure Logging
Logging in Code
Backtraces
Enable Backtraces
Example Backtrace
Debugging Tools
GDB/LLDB
VS Code Debugging
rust-analyzer
Network Debugging
gRPC Debugging
HTTP Debugging
WebSocket Debugging
Network Capture
Component-Specific Debugging
Gateway Debugging
Compute Node Debugging
Registry Debugging
Memory Debugging
Detect Memory Issues
Heap Profiling
Performance Debugging
CPU Profiling
Timing Analysis
Contract Debugging
Foundry Debugging
Trace Transactions
Log Analysis
Search Logs
Structured Logging
Common Debug Scenarios
Connection Issues
Request Not Processing
Signature Verification Failures
Blockchain Issues
Debug Checklist
Before Reporting Issues
Information to Collect
Next Steps
Last updated
