Register debug command.