return state;
}
private void runDebugTarget() throws ExecutionException {
ErlangRunningState runningState = createRunningState();
GeneralCommandLine commandLine = new GeneralCommandLine();
runningState.setExePath(commandLine);
runningState.setWorkDirectory(commandLine);
setUpErlangDebuggerCodePath(commandLine);
runningState.setCodePath(commandLine);
commandLine.addParameters("-sname", "test_node" + System.currentTimeMillis());
commandLine.addParameters("-run", "debugnode", "main", myDebuggerNode.getName(), myDebuggerNode.getMessageBoxName());
runningState.setErlangFlags(commandLine);
runningState.setNoShellMode(commandLine);
runningState.setStopErlang(commandLine);
Process process = commandLine.createProcess();
myErlangProcessHandler = new OSProcessHandler(process, commandLine.getCommandLineString());
getSession().getConsoleView().attachToProcess(myErlangProcessHandler);
myErlangProcessHandler.startNotify();
if (runningState instanceof ErlangRemoteDebugRunningState) {
ErlangRemoteDebugRunConfiguration runConfiguration = (ErlangRemoteDebugRunConfiguration) getRunConfiguration();
if (StringUtil.isEmptyOrSpaces(runConfiguration.getErlangNode())) {