fix(neovim): rename coreclr dap to netcoredbg
This commit is contained in:
parent
48599d2766
commit
cfd84bde6a
|
@ -104,7 +104,7 @@ dap.adapters.cppdbg = {
|
|||
}
|
||||
|
||||
-- @type DapAdapter
|
||||
dap.adapters.coreclr = {
|
||||
dap.adapters.netcoredbg = {
|
||||
type = "executable",
|
||||
command = "netcoredbg",
|
||||
args = { "--interpreter=vscode" },
|
||||
|
@ -162,13 +162,23 @@ dap.configurations.c = dap.configurations.cpp
|
|||
-- @type DapConfiguration
|
||||
dap.configurations.cs = {
|
||||
{
|
||||
type = "coreclr",
|
||||
name = "launch - netcoredbg",
|
||||
type = "netcoredbg",
|
||||
name = "Launch DLL",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input("Path to dll", vim.fn.getcwd() .. "/bin/Debug/", "file")
|
||||
end,
|
||||
},
|
||||
{
|
||||
type = "netcoredbg",
|
||||
name = "Attach to debugger",
|
||||
request = "attach",
|
||||
program = function()
|
||||
return vim.fn.input("Path to dll", vim.fn.getcwd() .. "/bin/Debug/", "file")
|
||||
end,
|
||||
pid = "${command:pickProcess}",
|
||||
cwd = "${workspaceFolder}",
|
||||
},
|
||||
}
|
||||
|
||||
-- @type DapConfiguration
|
||||
|
|
Loading…
Reference in a new issue