Skip to content

Debugger not working #21

Open
Open

Description

@kchojhu

Hi! I was able to run the Java code perfectly. When I try to run by clicking on 'Debug' then I get an error

''void
org.eclipse.jdi.internal.connect.ConnectorImpl$StringArgumentImpl.(org.eclipse.jdi.i...
java.lang.String,java.lang.String, java.lang.String, boolean)'

Could someone help how I can fix this or how I can enable debugger? Thanks!

Activity

  1. kchojhu commented on Aug 6, 2021

    @kchojhu
    Author

    Figured out the issue. Main reason is that Java plugins (Including Java Debugger) require 'reload' to work. So when installing plugins from remote initially would not work. After I followed these steps to persist the plugins on the host then debugger worked!

    https://code.visualstudio.com/docs/remote/containers-advanced#_avoiding-extension-reinstalls-on-container-rebuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions