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
|
-- @type DapAdapter
|
||||||
dap.adapters.coreclr = {
|
dap.adapters.netcoredbg = {
|
||||||
type = "executable",
|
type = "executable",
|
||||||
command = "netcoredbg",
|
command = "netcoredbg",
|
||||||
args = { "--interpreter=vscode" },
|
args = { "--interpreter=vscode" },
|
||||||
|
@ -162,13 +162,23 @@ dap.configurations.c = dap.configurations.cpp
|
||||||
-- @type DapConfiguration
|
-- @type DapConfiguration
|
||||||
dap.configurations.cs = {
|
dap.configurations.cs = {
|
||||||
{
|
{
|
||||||
type = "coreclr",
|
type = "netcoredbg",
|
||||||
name = "launch - netcoredbg",
|
name = "Launch DLL",
|
||||||
request = "launch",
|
request = "launch",
|
||||||
program = function()
|
program = function()
|
||||||
return vim.fn.input("Path to dll", vim.fn.getcwd() .. "/bin/Debug/", "file")
|
return vim.fn.input("Path to dll", vim.fn.getcwd() .. "/bin/Debug/", "file")
|
||||||
end,
|
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
|
-- @type DapConfiguration
|
||||||
|
|
Loading…
Reference in a new issue