Test debug command handler.