-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Configuring DAP for julia #532
Comments
Try dap.adapters.julia = {
type = "executable",
command = "/usr/bin/julia",
args = { vim.fn.expand("$HOME/git/DebugAdapter.jl/src/DebugAdapter.jl") },
} Otherwise the whole string is used as a single command. And environment variables are not automatically expanded, a |
Now it seems to expand correctly, but still not working. In
I have set |
Are you sure that I had a quick look at the julia-vscode sources and it looks like part of the debug adapter is implemented there. I'm not familiar with julia so I'm not sure what Judging from puremourning/vimspector#256 and emacs-lsp/dap-mode#173 it looks like others came to a similar conclusion. |
You are right. My bad. It have been quite frustrating trying to work along with Julia on NeoVim... I cannot give up of the debugging functionality, so I can't use Neovim. Nevertheless, there is a guy who made a video explaining who to setup neovim to work with Julia. I didn't see it thoroughly and seems to be a little bit outdated (2019), but could fit to someone else... |
Debug adapter definition and debug configuration
I am trying to use
nvim
to debugjulia
code, but the DAP config failed. I used thejulia
's DAP debugger for vscode. For configure it, I use this codewhere
<path/to>
is the path toDebugAdapter.jl/
in my system.Debug adapter version
1.0.1
Steps to Reproduce
git clone https://github.com/julia-vscode/DebugAdapter.jl
julia
DAP config as shown before:lua require'dap'.continue()
Expected Result
I expected my debugger to work properly.
Actual Result
Unfortunately, I've received the the following error
I have never done configurations for Debugger Adapter Protocols before, so any help is welcome.
The text was updated successfully, but these errors were encountered: