Update cmd_debug.c

issue #1146