use of com.intellij.debugger.impl.GenericDebuggerRunnerSettings in project intellij-community by JetBrains.
the class RemoteConfiguration method getState.
@Override
public RunProfileState getState(@NotNull final Executor executor, @NotNull final ExecutionEnvironment env) throws ExecutionException {
final GenericDebuggerRunnerSettings debuggerSettings = (GenericDebuggerRunnerSettings) env.getRunnerSettings();
if (debuggerSettings != null) {
// sync self state with execution environment's state if available
debuggerSettings.LOCAL = false;
debuggerSettings.setDebugPort(USE_SOCKET_TRANSPORT ? PORT : SHMEM_ADDRESS);
debuggerSettings.setTransport(USE_SOCKET_TRANSPORT ? DebuggerSettings.SOCKET_TRANSPORT : DebuggerSettings.SHMEM_TRANSPORT);
}
return new RemoteStateState(getProject(), createRemoteConnection());
}
Aggregations