[communication] Improves sb_debug_console to reduce CPU usage.