File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -79,11 +79,28 @@ return {
7979
8080 -- You can provide additional configuration to the handlers,
8181 -- see mason-nvim-dap README for more information
82- handlers = {},
83-
82+ handlers = {
83+ function (config )
84+ -- all sources with no handler get passed here
85+ -- Keep original functionality
86+ require (' mason-nvim-dap' ).default_setup (config )
87+ end ,
88+ coreclr = function (config )
89+ config .adapters = {
90+ type = ' executable' ,
91+ command = vim .fn .exepath ' netcoredbg' ,
92+ args = { ' --interpreter=vscode' },
93+ options = {
94+ detached = false ,
95+ },
96+ }
97+ require (' mason-nvim-dap' ).default_setup (config )
98+ end ,
99+ },
84100 -- You'll need to check that you have the required things installed
85101 -- online, please don't ask me how to install them :)
86102 ensure_installed = {
103+ ' coreclr' ,
87104 -- Update this to ensure that you have the debuggers for the langs you want
88105 },
89106 }
You can’t perform that action at this time.
0 commit comments