mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(omnisharp): don't detach coreclr debug adapter (#4023)
## Description Debugging c# with the Omnisharp plugin doesn't work, as described by myself in #4004. Turns out this is a known issue with how nvim-dap calls the mason netcoredbg cmd script. [The solution](https://github.com/jay-babu/mason-nvim-dap.nvim/issues/132) is to pass `detach = false` as an option to the debug adapter. I've tested and it works on my windows machine. ## Related Issue(s) #4004 ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
337e9ddc00
commit
b3e746b637
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,9 @@ return {
|
||||||
type = "executable",
|
type = "executable",
|
||||||
command = vim.fn.exepath("netcoredbg"),
|
command = vim.fn.exepath("netcoredbg"),
|
||||||
args = { "--interpreter=vscode" },
|
args = { "--interpreter=vscode" },
|
||||||
|
options = {
|
||||||
|
detached = false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
for _, lang in ipairs({ "cs", "fsharp", "vb" }) do
|
for _, lang in ipairs({ "cs", "fsharp", "vb" }) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue