Open fleimgruber opened 4 years ago
Yes. You need the debug adapter and the corresponding debug templates.
After more reading, it seems that the repo I linked to is just the interface code and not a proper debug server. That server still needs to be written, see also https://github.com/julia-vscode/julia-vscode/issues/125.
Some further comments here: https://github.com/puremourning/vimspector/issues/256#issuecomment-695794837
Looks like Julia's DAP server works with VSCode now...
[sorry for multiple copies of this comment -- Brave's connection with GitHub hung and I ended up submitting around 4 of these]
@zot thanks for the update. What is missing here is a standalone DAP server executable, so did you manage to use it outside of VS Code?
Not yet -- just found out about it and saw this issue so I thought I'd post a little info here. I don't know how standalone this is:
https://github.com/julia-vscode/julia-vscode https://github.com/julia-vscode/julia-vscode/tree/master/scripts/debugger
This is what I did in https://github.com/emacs-lsp/dap-mode/issues/173#issuecomment-567208038. In the meantime the Julia implementation was done (your link to run_debugger.jl
), but the comment linked in https://github.com/emacs-lsp/dap-mode/issues/173#issuecomment-817454492 is still valid I fear.
Has there been any progress on this yet?
The implementation I found is https://github.com/julia-vscode/DebugAdapter.jl. Could this be wrapped with a
dap-julia.el
? AFAICS, the dap-mode adapters use external programs so one would have to be written in Julia, correct?