You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neotest is aware of DAP, e.g., neotest.run.run({strategy = dap}) would run test cases in a DAP debug session.
One missing feature is that when an exception happens or a test fails (via AssertionError), the DAP sesion does not hit the breakpoint and the program terminates normally. Think of some behaviors like pytest --pudb, which would launch the PuDB debugger session with the breakpoint hit on the failing line (like a post-mortem mode).
It would be nice we can have a similar breakpoint or post-mortem mode with the DAP session when running via dap strategy. The current behavior is just showing the test output in a floating window, not stopping the thread.