coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

[Question] Debugging for Java projects

Open kozer opened this issue 6 years ago • 5 comments

Microsoft has a repo (https://github.com/Microsoft/java-debug/blob/master/README.md) where she use jdi to communicate with Java language server and provide debug functionality. Can you support that, and if you need help, can you provide information of what has to be done? Also this is a nice feature for other languages as well, and I think that with your plugins is the only thing missing from vim right now.

kozer avatar Feb 27 '19 06:02 kozer

It's planed, but it need time, a lot of time needed to figure out how DAP works and how should it works with vim.

chemzqm avatar Feb 27 '19 06:02 chemzqm

Would be great to integrate with this: https://github.com/puremourning/vimspector

appelgriebsch avatar Aug 18 '19 18:08 appelgriebsch

Relates to neoclide/coc.nvim/issues/322

dansomething avatar Jan 16 '20 14:01 dansomething

I think it's just better and simpler to provide some integration or command to load the debugger plugin for Vimspector to consume?

It has done that for YCM: https://github.com/puremourning/vimspector#java

I already use Vimspector for several other languages, so maybe coc as a project could leave debugging aside for Vimspector, and just do the minimal effort for java in specific to be able to be consumed by Vimspector.

oblitum avatar Jul 23 '20 17:07 oblitum

Ah, I see @dansomething did coc-java-debug.

oblitum avatar Jul 23 '20 17:07 oblitum