Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger not working #21

Open
kchojhu opened this issue Aug 6, 2021 · 1 comment
Open

Debugger not working #21

kchojhu opened this issue Aug 6, 2021 · 1 comment

Comments

@kchojhu
Copy link

kchojhu commented Aug 6, 2021

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!

@kchojhu
Copy link
Author

kchojhu commented Aug 6, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant