Improved debugging

This commit is contained in:
Fred Drake
2024-10-02 17:25:25 -04:00
parent 1b8b135353
commit 10acaf2001
3 changed files with 37 additions and 26 deletions
+11 -8
View File
@@ -1,9 +1,12 @@
{
plugins.dap = {
enable = true;
extensions = {
dap-ui.enable = true;
dap-virtual-text.enable = true;
};
};
{ pkgs, ... }: {
extraConfigLua = ''
local dap = require('dap')
dap.adapters.coreclr = {
type = 'executable',
command = '${pkgs.netcoredbg}/bin/netcoredbg',
args = {'--interpreter=vscode'}
}
'';
}