mfussenegger / nvim-dap

Debug Adapter Protocol client implementation for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

listeners not called if no callback is given for a request

Abh15h3k opened this issue · comments

Debug adapter definition and debug configuration

dap.listeners.after.disconnect.user = function(session, error, response, payload) print("ON DISCONNECT") end

Debug adapter version

No response

Steps to Reproduce

start debugger

terminate()

Expected Result

ON DISCONNECT in messages

Actual Result

nothing

the listeners don't get executed if no callback is set for a given request.
dap listeners

Thanks, I merged your PR #566

ezoic increase your site revenue