You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
977 B
Lua
35 lines
977 B
Lua
11 months ago
|
return {
|
||
|
"mfussenegger/nvim-dap",
|
||
|
config = function()
|
||
|
local dap = require("dap")
|
||
2 years ago
|
|
||
11 months ago
|
dap.adapters.bashdb = {
|
||
|
type = "executable",
|
||
|
command = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/bash-debug-adapter",
|
||
|
name = "bashdb",
|
||
|
}
|
||
2 years ago
|
|
||
11 months ago
|
dap.configurations.sh = {
|
||
|
{
|
||
|
type = "bashdb",
|
||
|
request = "launch",
|
||
|
name = "Launch file",
|
||
|
showDebugOutput = true,
|
||
|
pathBashdb = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/extension/bashdb_dir/bashdb",
|
||
|
pathBashdbLib = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/extension/bashdb_dir",
|
||
|
trace = true,
|
||
|
file = "${file}",
|
||
|
program = "${file}",
|
||
|
cwd = "${workspaceFolder}",
|
||
|
pathCat = "cat",
|
||
|
pathBash = "/bin/bash",
|
||
|
pathMkfifo = "mkfifo",
|
||
|
pathPkill = "pkill",
|
||
|
args = {},
|
||
|
env = {},
|
||
|
terminalKind = "integrated",
|
||
|
},
|
||
|
}
|
||
|
end,
|
||
|
}
|