Merge "Add support for --list debug command and fix --latency" into main