Open poconnor-lab49 opened 2 years ago
Although not blocking I can verify this occurs to me as well. In my case I debugged the code and i found out the following:
Using:
I found that the error message is produced due to multiple attempts to attach to the debug port:
if ("debug".equals(mode)) {
createRemoteJavaDebugConfiguration(configuration, debugPort, monitor);
}
As a result one of the attempts succeeds and therefore debugging works fine, but the other attempts fail and cause the error message(s)
Duplicated as https://issues.redhat.com/browse/JBIDE-28671 as JIRA is the bug management system for JBoss Tools
With a Quarkus Run/Debug Application launch configuration the quarkus project runs fine, but if you run in debug mode Eclipse throws an error even though the debugger seems to have already connected. In fact, it seems like the debugger connects whether you choose either Run or Debug, so you don't need to use the debug launch configuration at all?
Looks like the debug connection is already established by Eclipse, so https://github.com/jbosstools/jbosstools-quarkus/blob/main/plugins/org.jboss.tools.quarkus.core/src/org/jboss/tools/quarkus/core/launch/QuarkusLaunchConfigurationDelegate.java#L92 can't connect?
Copy of error