Remote debugging in spring boot projects doesn't work with Java jdk 9.0.1 (tested with multiple spring boot projects in Java jdk 9.0.1, none of them works).
Gets error "Failed to attach to remote debuggee VM. Reason: java.net.ConnectException: Connection refused: connect" when try to remote debug. Spring boot doesn't stop to wait for the debugger to attach.
Run command:
$ mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
Environment
- Operating System: windows 10
- JDK version: 9.0.1
- Visual Studio Code version: 1.19.1
- Java extension version: 0.16.0
- Java Debugger extension version: 0.5.0
Remote debugging in spring boot projects doesn't work with Java jdk 9.0.1 (tested with multiple spring boot projects in Java jdk 9.0.1, none of them works).
Gets error "Failed to attach to remote debuggee VM. Reason: java.net.ConnectException: Connection refused: connect" when try to remote debug. Spring boot doesn't stop to wait for the debugger to attach.
Run command:
Environment