mxsdev / nvim-dap-vscode-js

nvim-dap adapter for vscode-js-debug
266 stars 24 forks source link

Register child session as child #32

Closed mfussenegger closed 1 year ago

mfussenegger commented 1 year ago

Similar to the nvim-dap startDebugging support, this sets children/parent on the session

See https://github.com/mfussenegger/nvim-dap/blob/72684a4d70f0ecd45efe5ea76e9510e0b2e4d600/lua/dap/session.lua#L1022-L1023

This will cause the session hierarchy to be visible when using something like :lua local w = require('dap.ui.widgets'); w.sidebar(w.sessions).open(); and should ensure the child session receives all breakpoint changes

mxsdev commented 1 year ago

Thanks for the PR!