final XDebugSession debugSession =
XDebuggerManager.getInstance(project).startSession(this, env, contentToReuse, new XDebugProcessStarter() {
@NotNull
public XDebugProcess start(@NotNull final XDebugSession session) throws ExecutionException {
try {
final HXCPPDebugProcess debugProcess = new HXCPPDebugProcess(session, module, finalPort);
NMERunningState runningState = new NMERunningState(env, module, runInTest);
debugProcess.setExecutionResult(runningState.execute(executor, HaxeDebugRunner.this));
return debugProcess;
}
catch (IOException e) {
throw new ExecutionException(e.getMessage(), e);
}