* @param mode debug mode in which to launch the application
* @param restartAction update restart or restart, if that is the currently
* selected action, or null otherwise
*/
protected void debugApplication(ApplicationAction restartAction) {
DebugCommand command = new DebugCommandBuilder(new IModule[] { module }, cloudServer).getDebugCommand(
restartAction, new ApplicationDetailsDebugListener());
new DebugApplicationEditorAction(editorPage, command).run();
}