Open mr-majkel opened 2 years ago
Ok, so I have managed to find require("dap").set_exception_breakpoints()
in the help:). A widget for it might still be nice addition. Feel free to close if you think otherwise.
Overall, I think that mentioning defaults
table near the adapter configuration might be beneficial in the help. This table seems complimentary to the setup done in require("dap").adapters.<name>
.
Here you can find a simple plugin I made to make using that function a bit easier: https://github.com/lucaSartore/nvim-dap-exception-breakpoints
Problem Statement
I want nvim-dap to allow easy toggling of the BreakpointExceptionFilter, to allow catching different types of exceptions. I am learning how to use it with debugpy for python, and I would like to have an option to jump into a debugger for the user's code raised exceptions.
Ideas or possible solutions