Skip to content

How do I set up a launch.json entry that can be debugged? #690

Closed Answered by stevenxxiu
stevenxxiu asked this question in Q&A
Discussion options

You must be logged in to vote

I figured this out through the example https://github.com/crate/crate/blob/c23352e37ec3f17a030a07f40daa8669468e4a45/.vscode/launch.json. I printed config in https://github.com/mfussenegger/nvim-jdtls/blob/master/lua/jdtls/dap.lua#L97, comparing it to what was printed for my launch.json.

So debugging is on by default.

I was using "args": [] instead of "args": "".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stevenxxiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant