Closed Dmusulas closed 1 year ago
:q
is only hiding the buffer, not deleting it so it will remain hidden on a new debug session. This behavior is intentional.
:buffers
will show it, and you can switch to it with :bnext
.
You'd have to use :bd
if you want the terminal window to close and re-open with the next debug session.
Thank you for clarification, starting out with NeoVim and did not know this.
I have encountered an issue where closing the dap-terminal (buffer where all program output is written) does not relaunch it afterward. The program is running, and breakpoints are working, but the output buffer is not visible.
Config
Nothing else only some remaps.
Steps to reproduce
lua require'dap'.continue()
:q
lua require'dap'.continue()
If I leave the dap-terminal open debugging session outputs everything correctly the second time this seems to be caused by the suspended buffer.
Not sure if this is related to nvim-dap-python or nvim-dap itself.