yaegassy / coc-ansible

ansible-language-server extension for coc.nvim
https://www.npmjs.com/package/@yaegassy/coc-ansible
MIT License
71 stars 3 forks source link

Debug Integration #34

Open jborean93 opened 9 months ago

jborean93 commented 9 months ago

Are you interested in potentially adding debug support in this plugin? I'm working on ansibug which is a Debug Adapter Protocol implementation. Currently I have a workable fork using this with the VSCode Ansible extension but I'm interested to see how well it adapts for other DAP compatible clients. I know nvim has a DAP client plugin called nvim-dap but my understanding of the vim/nvim ecosystem is quite rudimentary so I can't really help too much. If you are interested please let me know what you might need from me to test it out, otherwise feel free to close the issue :)

yaegassy commented 9 months ago

Hi, coc-ansible is an extension to the LSP client plugin called coc.nvim. Unfortunately, coc.nvim does not directly support DAP.

I am not using anything DAP related and will do some research and testing when I get interested. I would also like to find time to try your PR of vscode-ansible. https://github.com/ansible/vscode-ansible/pull/1006

jborean93 commented 9 months ago

No worries, I wasn't really sure about the nvim landscape here but good information to know. I might try out a very bare bones example using nvim-dap to see what I can come up with if I have some time.

webknjaz commented 9 months ago

@jborean93 I use AstroNvim if you need to test something, but I don't really use the debugger there. Might figure it out if needed, though.

mfussenegger commented 8 months ago

I might try out a very bare bones example using nvim-dap to see what I can come up with if I have some time.

I just came across ansibug and tried it out with nvim-dap. Turns out nvim-dap wasn't fully spec compliant, but now it's working with this configuration: https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation#ansible

nice work

jborean93 commented 8 months ago

That is awesome, I'll definitely be trying it out this week!