Vagrant debugging #282
-
I have vagrant running and I'd like to debug the scripts on it but I don't want to put my nvim-setup on the vagrant machine. IntelliJ can let you debug on a vagrant machine is that possible with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Any debug adapter that supports running via TCP could work. E.g. If/how well that works depends on the concrete debug adapter. Providing more built-in or first class support for more "easy-of-use" Docker/Vagrant/SSH debug scenarios is out-of-scope of nvim-dap itself, but the building blocks make it possible and an extension could improve upon it. |
Beta Was this translation helpful? Give feedback.
Any debug adapter that supports running via TCP could work. E.g.
debugpy
could be spawned with the--listen
option inside the VM and then nvim-dap could be configured to connect to it.If/how well that works depends on the concrete debug adapter.
Providing more built-in or first class support for more "easy-of-use" Docker/Vagrant/SSH debug scenarios is out-of-scope of nvim-dap itself, but the building blocks make it possible and an extension could improve upon it.