final Module module,
final ExecutionEnvironment env,
final Executor executor,
RunContentDescriptor contentToReuse,
final boolean runInTest) throws ExecutionException {
final HaxeModuleSettings settings = HaxeModuleSettings.getInstance(module);
Integer port = null;
try {
port = Integer.parseInt(settings.getHXCPPPort());
}
catch (NumberFormatException e) {
throw new ExecutionException("Bad HXCPP port \"" + settings.getHXCPPPort() + "\" in module settings");
}
final int finalPort = port;
final XDebugSession debugSession =
XDebuggerManager.getInstance(project).startSession(this, env, contentToReuse, new XDebugProcessStarter() {