write_debug