mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not check for available port on each typing in all configurations (IDEA-75097);
problem still exist with tomcat configuration
This commit is contained in:
+1
-1
@@ -166,9 +166,9 @@ public class GenericDebuggerParametersRunnerConfigurable extends SettingsEditor<
|
||||
|
||||
public void applyEditorTo(GenericDebuggerRunnerSettings runnerSettings) throws ConfigurationException {
|
||||
runnerSettings.LOCAL = myIsLocal;
|
||||
runnerSettings.setTransport(getTransport());
|
||||
checkPort();
|
||||
runnerSettings.setDebugPort(getPort());
|
||||
runnerSettings.setTransport(getTransport());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,12 +31,6 @@ public class GenericDebuggerRunnerSettings implements JDOMExternalizable, Debugg
|
||||
public boolean LOCAL = true;
|
||||
|
||||
public GenericDebuggerRunnerSettings() {
|
||||
try {
|
||||
DEBUG_PORT = DebuggerUtils.getInstance().findAvailableDebugAddress(DebuggerSettings.SOCKET_TRANSPORT == TRANSPORT);
|
||||
}
|
||||
catch (ExecutionException e) {
|
||||
DEBUG_PORT = "";
|
||||
}
|
||||
}
|
||||
|
||||
public String getDebugPort() {
|
||||
|
||||
Reference in New Issue
Block a user