diff --git a/lua/dap-python.lua b/lua/dap-python.lua index 16b5840..df4743c 100644 --- a/lua/dap-python.lua +++ b/lua/dap-python.lua @@ -237,6 +237,11 @@ function M.setup(adapter_python_path, opts) end dap.adapters.debugpy = dap.adapters.python + -- nvim-dap logs warnings for unhandled custom events + -- Mute it + dap.listeners.before["event_debugpySockets"]["dap-python"] = function() + end + if opts.include_configs then local configs = dap.configurations.python or {} dap.configurations.python = configs