We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5b5a8 commit f50c2f5Copy full SHA for f50c2f5
lua/kickstart/plugins/debug.lua
@@ -87,6 +87,12 @@ return {
87
dap.listeners.before.event_exited['dapui_config'] = dapui.close
88
89
-- Install golang specific config
90
- require('dap-go').setup()
+ require('dap-go').setup {
91
+ delve = {
92
+ -- On Windows delve must be run attached or it crashes.
93
+ -- See https://github.com/leoluz/nvim-dap-go/blob/main/README.md#configuring
94
+ detached = vim.fn.has 'win32' == 0,
95
+ },
96
+ }
97
end,
98
}
0 commit comments