if i try to lunch the debugger i keep getting this error,
Debug adapter didn't respond. Either the adapter is slow (then wait and ignore this) or there is a problem with your adapter or `lldb` configuration. Check the logs for errors (:help dap.set_log_level)
here is my config, please what am i doing wrong. Please not, debugging other language works fine EG Python
-- Rust Adapter
-- ==============
dap.adapters.lldb = {
type = 'executable',
-- command = 'lldb-vscode', -- I tried this
-- command = 'vscode-lldb', -- also tried this
-- command = 'rust-lldb', -- and this
command = '/home/name/.vscode/extensions/vadimcn.vscode-lldb-1.6.10/lldb/bin/lldb', -- even this
name = "lldb"
}
-- configure the adapter for Rust Debugging
dap.configurations.rust = {
{
name = 'Launch Debug',
type = 'lldb',
request = "launch",
program = function()
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/target/debug/' .. '')
end,
cwd = '${workspaceFolder}',
stopOnEntry = false,
args = {},
initCommand = {},
runInTerminal = false
}
}
Also want to add these are the debugger versions i have on the system
➜ nvim git:(master) ✗ lldb --version
lldb version 13.0.0
➜ nvim git:(master) ✗ rust-gdb --version
GNU gdb (GDB; openSUSE Tumbleweed) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
➜ nvim git:(master) ✗ rust-lldb --version
lldb version 13.0.0