Closed naveenkaratekid closed 4 years ago
This appears to be a dup of https://github.com/eclipse/codewind/issues/239
After you see the message, run the Attach Debugger action manually.
@naveenkaratekid the documentation can be found via: https://github.com/eclipse/codewind-docs/blob/master/docs/_documentations/troubleshooting.md#appsody-with-codewind
@keithchong Once I saw the error message, I performed the workaround as you suggested.
After I restarted the project in Debug mode, I right clicked on the project, and then selected Attach Debugger
, and I got a similar error message but with a different reason: Failed to attach remote debuggee VM. Reason: java.net.ConnectException: Connection refused: connect
Run the attach debugger command again. If the issue persists after a few attempts, restart the project in Debug mode a second time.
After verifying the issue in Mac and Windows, myself, @DavidG1011, and @sujeilyfonseca got the issue fixed using the workaround that was provided to us. In Windows, there is a different workaround we discovered: start by entering debug mode. Let the process finish, and expect it to fail (already documented that it will fail the first time). Wait for the restart notification on the bottom bar to fade away. Then, manually set the debugger.
@sishida
Can this be closed?
Yes.
Codewind version: 0.3.0 OS: Windows 10 IDE version:1.37.1
Description: Error being thrown when I attempt to debug any of the following Appsody templates:
Whenever I try to debug any of the templates I listed above, after a few moments, I get a popup that says
"Failed to attach to remote debuggee VM. Reason: com.jdi.spi.ClosedConnectionException
Steps to reproduce:
launch.json @jagraj