Open jborean93 opened 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
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.
@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.
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
That is awesome, I'll definitely be trying it out this week!
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 :)