22 lines
502 B
Lua
22 lines
502 B
Lua
return {
|
|
"mfussenegger/nvim-dap",
|
|
config = function()
|
|
require("dap-go").setup()
|
|
require("dap-python").setup()
|
|
table.insert(require("dap").configurations.python, {
|
|
type = "python",
|
|
request = "launch",
|
|
name = "My custom launch configuration",
|
|
program = "${file}",
|
|
-- ... more options, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
|
|
})
|
|
end,
|
|
key = {
|
|
"<leader>d",
|
|
},
|
|
dependencies = {
|
|
"leoluz/nvim-dap-go",
|
|
"mfussenegger/nvim-dap-python",
|
|
},
|
|
}
|