debug the commandStr