Skip to content
Discussion options

You must be logged in to vote

You can add args and vmArgs. See https://github.com/microsoft/java-debug/blob/625fe84cef4825a4b6b476d04383f5168e81708d/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/Requests.java#L104-L119

Not sure if there is also proper documentation for it somewhere.

Here is an example of it being used: https://github.com/crate/crate/blob/e1dea641515e57f61e77dcd34d8b2de042878bbf/.vscode/launch.json#L4-L13

And I recommend to use it with nvim-jdtls, otherwise you need to also define the full classpath and so on.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@mfussenegger
Comment options

Answer selected by schrieveslaach
Comment options

You must be logged in to vote
1 reply
@mfussenegger
Comment options

Comment options

You must be logged in to vote
2 replies
@schrieveslaach
Comment options

@mfussenegger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants