-
Last week, I followed this series to create my neovim config in lua. Everything was working fine, but there was just one feature I was missing: debugging. So I searched a little bit and found nvim-dap, a plugin for debug. I read the documentation and was able to set up a working debugger for C, C++ and Python.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
Now, I am trying to do the same for Java, but I just can't make it work. I installed nvim-jdtls both through Packer and nvim-lsp-installer and followed their documentation here. I installed java-debug as they said and added the required jar file to the bundles in their configuration. I am also calling the jdtls.setup_dap and jdtls.start_or_attach functions inside the on_attach and lsp_installer.on_server_ready functions, respectively. Still, the debugger won't start.
-
nvim-lsp-installer
Discontinued Further development has moved to https://github.com/williamboman/mason.nvim!
Now, I am trying to do the same for Java, but I just can't make it work. I installed nvim-jdtls both through Packer and nvim-lsp-installer and followed their documentation here. I installed java-debug as they said and added the required jar file to the bundles in their configuration. I am also calling the jdtls.setup_dap and jdtls.start_or_attach functions inside the on_attach and lsp_installer.on_server_ready functions, respectively. Still, the debugger won't start.
-
java-debug
The debug server implementation for Java. It conforms to the debug protocol of Visual Studio Code (DAP, Debugger Adapter Protocol).
Now, I am trying to do the same for Java, but I just can't make it work. I installed nvim-jdtls both through Packer and nvim-lsp-installer and followed their documentation here. I installed java-debug as they said and added the required jar file to the bundles in their configuration. I am also calling the jdtls.setup_dap and jdtls.start_or_attach functions inside the on_attach and lsp_installer.on_server_ready functions, respectively. Still, the debugger won't start.
-
My current neovim config is here. The relevant files are inside the lsp and dap folders. I tried to follow this configuration, which is from the original author of both nvim-dap and nvim-jdtls.
-
My current neovim config is here. The relevant files are inside the lsp and dap folders. I tried to follow this configuration, which is from the original author of both nvim-dap and nvim-jdtls.