write command list for debug.