* monitor.c (monitor_debug): Fix remotedebug buffering.