- Automatic canvas screenshot capture and streaming
- Console log and error collection with timestamps
- Global error and unhandled promise rejection handling
- SVG visualization display in a debug window
- Real-time debug stats and SVG size measurement
- Minimal impact on game performance
- Robust error handling and reconnection