Add trace-debug command
Improved debug info