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 = {
|
||||
-- {
|
||||
-- name = "Rust Debug",
|
||||
-- type = "codelldb",
|
||||
-- request = "launch",
|
||||
-- program = function()
|
||||
-- return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/target/debug", "file")
|
||||
-- end,
|
||||
-- cwd = "${workspaceFolder}",
|
||||
-- stopOnEntry = true,
|
||||
-- showDisassembly = "never"
|
||||
-- }
|
||||
-- }
|
||||
dap.adapters.coreclr = {
|
||||
type = "executable",
|
||||
command = vim.fn.stdpath("data") .. "/mason/bin/netcoredbg",
|
||||
args = { '--interpreter=vscode' }
|
||||
}
|
||||
|
||||
|
||||
dap.configurations.cs = {
|
||||
{
|
||||
name = "launch - netcoredbg",
|
||||
type = "coreclr",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
|
||||
end
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user