Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: support remote debugging #183

Open
1 task done
xuanleilin opened this issue May 9, 2024 · 0 comments
Open
1 task done

feature: support remote debugging #183

xuanleilin opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xuanleilin
Copy link

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

Hi Srinesh,

Thank you so much for creating the fantastic plugin. It has been incredibly helpful for debugging Java code in Neovim. I wanted to check if nvim-java also supports remote debugging, as it is another frequently used functionality. I tried running the command :lua require'dap.ext.vscode'.load_launchjs(nil, nil) to load the configurations from .vscode/launch.json. However, when I start the debugging process, I encounter the following error message:

Error executing vim.schedule lua callback: ...e/nvim/lazy/nvim-java-core/lua/java-core/utils/async.lua:41: u
stack traceback:
[C]: in function 'error'
...e/nvim/lazy/nvim-java-core/lua/java-core/utils/async.lua:41: in function 'callback'
...nvim-java-core/lua/java-core/ls/clients/jdtls-client.lua:72: in function 'handler'
....mount_nvimAJdFQy/usr/share/nvim/runtime/lua/vim/lsp.lua:1393: in function ''
vim/_editor.lua: in function <vim/_editor.lua: 0>

I would appreciate any guidance or suggestions you can provide to resolve this issue.

Thank you once again for your excellent work!

Best regards,
Xuanlei

Describe the solution you'd like

Support remote debugging.

Describe alternatives you've considered

Not sure.

Additional context

No response

@xuanleilin xuanleilin added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant