|
|
|
@ -20,7 +20,7 @@ return {
|
|
|
|
|
'jay-babu/mason-nvim-dap.nvim',
|
|
|
|
|
|
|
|
|
|
-- Add your own debuggers here
|
|
|
|
|
'leoluz/nvim-dap-go',
|
|
|
|
|
-- 'leoluz/nvim-dap-go',
|
|
|
|
|
'mfussenegger/nvim-dap-python'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ return {
|
|
|
|
|
-- online, please don't ask me how to install them :)
|
|
|
|
|
ensure_installed = {
|
|
|
|
|
-- Update this to ensure that you have the debuggers for the langs you want
|
|
|
|
|
'delve','python'
|
|
|
|
|
'python'
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -81,8 +81,7 @@ return {
|
|
|
|
|
dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
|
|
|
|
dap.listeners.before.event_exited['dapui_config'] = dapui.close
|
|
|
|
|
|
|
|
|
|
-- Install golang specific config
|
|
|
|
|
require('dap-go').setup()
|
|
|
|
|
-- Install python specific config
|
|
|
|
|
require('dap-python').setup() -- Debug with default settings.
|
|
|
|
|
|
|
|
|
|
end,
|
|
|
|
|