debugCommand interpreter

changed the way debugCommand interprets the command string