Skip to content

My nvim-jdtls can't work with dap #716

Answered by mfussenegger
WYJRichhhhh asked this question in Q&A
Discussion options

You must be logged in to vote

I tried execute cmd JdtUpdateConfig ,messages show OK, and then I run the command lua require'dap'.run , the reuslt as same as befor

Does your project have any main classes? (They need a public static main)
If not, you need to add manual configurations either in dap.configurations.java or in a .vscode/launch.json file.

Replies: 1 comment 1 reply

Comment options

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

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