fixed linux dap config
This commit is contained in:
parent
ea6e95aca8
commit
a3942972d8
@ -97,7 +97,13 @@ dap.adapters.codelldb = {
|
||||
|
||||
dap.adapters.lldb = {
|
||||
type = 'executable',
|
||||
command = os.getenv('SCOOP') .. '/apps/llvm/current/bin/lldb-vscode.exe',
|
||||
command = function()
|
||||
if vim.loop.os_uname().sysname == 'Linux' then
|
||||
return 'lldb-vscode'
|
||||
else
|
||||
return os.getenv('SCOOP') .. '/apps/llvm/current/bin/lldb-vscode.exe'
|
||||
end
|
||||
end,
|
||||
name = 'lldb'
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user