Added debug version for commands.