IDEA-359455 Disable JIT option adds incompatible VM option -Xnoagent - do not remove -Xdebug option

GitOrigin-RevId: 0f59c5d8e20de6c74046c91cb8547d29e497cba1
This commit is contained in:
Egor Ushakov
2024-09-27 15:48:41 +02:00
committed by intellij-monorepo-bot
parent 55e80c9052
commit 9da72f0f31

View File

@@ -132,10 +132,6 @@ public class RemoteConnectionBuilder {
parameters.getVMParametersList().replaceOrPrepend("-Xrunjdwp:", "");
parameters.getVMParametersList().replaceOrPrepend("-agentlib:jdwp=", "-agentlib:jdwp=" + _debuggeeRunProperties);
// deliberately skip outdated parameter because it can disable full-speed debugging for some jdk builds
// see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6272174
parameters.getVMParametersList().replaceOrPrepend("-Xdebug", "");
});
return new RemoteConnection(useSockets, DebuggerManagerImpl.LOCALHOST_ADDRESS_FALLBACK, address, myServer);