Description
Add debugging and introspection capabilities to help developers and users understand what's happening inside PolyTorus.
Tasks
Debug commands to add
polytorus debug state - Show current blockchain state
polytorus debug network - Show network status and peers
polytorus debug config - Validate and display configuration
polytorus debug memory - Show memory usage statistics
polytorus debug trace <tx_hash> - Trace transaction execution
polytorus debug performance - Show performance metrics
Acceptance Criteria
- Debug commands provide useful information for troubleshooting
- Output is well-formatted and easy to understand
- Debug features don't impact production performance
- Debug commands are documented
- Sensitive information is not exposed in debug output
Estimated Time
5-6 hours
Excellent for developers who want to add powerful debugging capabilities!
Description
Add debugging and introspection capabilities to help developers and users understand what's happening inside PolyTorus.
Tasks
debugsubcommand to CLI with various debug optionsDebug commands to add
polytorus debug state- Show current blockchain statepolytorus debug network- Show network status and peerspolytorus debug config- Validate and display configurationpolytorus debug memory- Show memory usage statisticspolytorus debug trace <tx_hash>- Trace transaction executionpolytorus debug performance- Show performance metricsAcceptance Criteria
Estimated Time
5-6 hours
Excellent for developers who want to add powerful debugging capabilities!