mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-19 16:51:10 +00:00
feat: configure c# debugger
This commit is contained in:
parent
f725f8cb87
commit
3f162cefdc
@ -33,18 +33,22 @@ return {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- dap.configurations.rust = {
|
dap.adapters.coreclr = {
|
||||||
-- {
|
type = "executable",
|
||||||
-- name = "Rust Debug",
|
command = vim.fn.stdpath("data") .. "/mason/bin/netcoredbg",
|
||||||
-- type = "codelldb",
|
args = { '--interpreter=vscode' }
|
||||||
-- request = "launch",
|
}
|
||||||
-- program = function()
|
|
||||||
-- return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/target/debug", "file")
|
|
||||||
-- end,
|
dap.configurations.cs = {
|
||||||
-- cwd = "${workspaceFolder}",
|
{
|
||||||
-- stopOnEntry = true,
|
name = "launch - netcoredbg",
|
||||||
-- showDisassembly = "never"
|
type = "coreclr",
|
||||||
-- }
|
request = "launch",
|
||||||
-- }
|
program = function()
|
||||||
|
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
|
||||||
|
end
|
||||||
|
}
|
||||||
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user