DAP configuration #218
-
How do I configure a DAP for a given language? Previously, I had the following configuration for dap.adapters.coreclr = {
type = 'executable',
command = '/home/foo/netcoredbg/netcoredbg',
args = {'--interpreter=vscode'}
}
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
}
} How do I port this configuration to work through mason? I did not find anything related in the docs |
Beta Was this translation helpful? Give feedback.
Answered by
williamboman
Aug 1, 2022
Replies: 1 comment 3 replies
-
Hello! So Mason doesn't replace any existing editor functionalities, it just provides you with a way to manage the installation of dap.adapters.coreclr = {
type = 'executable',
- command = '/home/foo/netcoredbg/netcoredbg',
+ command = 'netcoredbg',
args = {'--interpreter=vscode'}
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Je12emy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! So Mason doesn't replace any existing editor functionalities, it just provides you with a way to manage the installation of
netcoredbg
. From the snippet you provided, the only thing I'd change is thecommand
: