Added c# debugger
This commit is contained in:
parent
3019a71877
commit
131d92e587
1 changed files with 35 additions and 19 deletions
|
|
@ -23,7 +23,23 @@
|
|||
runInTerminal = true,
|
||||
},
|
||||
}
|
||||
'';
|
||||
|
||||
dap.adapters.coreclr = {
|
||||
type = 'executable',
|
||||
command = '/run/current-system/sw/bin/netcoredbg',
|
||||
args = {'--interpreter=vscode'},
|
||||
name = 'netcoreclr'
|
||||
}
|
||||
dap.configurations.cs = {
|
||||
{
|
||||
type = "coreclr",
|
||||
name = "launch - netcoredbg",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
|
||||
end,
|
||||
},
|
||||
} '';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue