local dap = require'dap' require("dapui").setup() dap.adapters.lldb = { type = 'executable', -- absolute path is important here, otherwise the argument in the `runInTerminal` request will default to $CWD/lldb-vscode command = '/usr/bin/lldb-vscode', name = "lldb" } dap.configurations.c = { { name = "Launch", type = "lldb", request = "launch", program = function() return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') end, cwd = '${workspaceFolder}', stopOnEntry = false, args = {}, runInTerminal = true, }, }