Break debugger on assertion
Author: dapaulidCreated Aug 24, 2019Updated Sep 5, 2026
It would be nice to have a debugger break when an assertion fails so that you can immediately check what's going on without setting a breakpoint and re-running the test.
This could possibly be realized by adding a debugger statement before throwing an AssertionError.
Source: chaijs/chai