Skip to content

Remote debugging not working with Java 9.0.1 #214

Description

@khe817

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions