plot debug_buf