Open arnold-c opened 4 months ago
I also got the same error in Macbook M1 Sonoma 14.5, but I found a tentative solution for this issue. Although scripts/server.jl describes
using Pkg
Pkg.instantiate()
, I've tried to install dependencies manually.
julia --project=~/.local/share/nvim/lazy/nvim-dap-julia
using Pkg
Pkg.instantiate()
After this installation, I got to run the julia debugger.
Here is my config for nvim-dap-julia using lazy.nvim
{
"kdheepak/nvim-dap-julia",
ft = "julia",
config = function()
local nvim_dap_julia = require("nvim-dap-julia")
nvim_dap_julia.setup({})
end,
},
I hope you find this information useful.
That worked - thanks @SoichiroYamane! I'll leave this open for the moment, as it requires a little more work than the usual setup, though feel free to close (I can add this information to the README if no changes are to be made at the moment).
Unfortunately I'm not able to get this to work on my laptop (Macbook M1, Sonoma 14.5) as it's resulting in ECONNREFUSED. I'm afraid I don't have much experience with the DAP protocol, so my trouble-shooting abilities are a little limited, but I have been able to get Delve (Go's DAP) running as expected. Other related issues I found in nvim-dap were related to localhost, but that doesn't seem to be the issue here as the default setup already uses
127.0.0.1
rather thanlocalhost
(https://github.com/mfussenegger/nvim-dap/issues/1031).This is my current dap setup (based on kickstart.nvim), but I've also tried the configs listed in the README (both simple and advanced versions).
Thanks for putting this together - looking forward to being able to use the DAP in nvim.