I'd like to be able to temporarily disable this behavior for "expected" exceptions in Chrome, for development purposes. For example, I have unit tests that create implementations of objects that intentionally throw exceptions; when running them, I'd like to not pause on "known" exceptions but pause on unexpected exceptions (for example, if there are bugs in the tests themselves).
Is there an easy way to do this? Blackboxing the scripts isn't really an option, as I want to know about unexpected exceptions (and it apparently doesn't work anyway; see Chrome dev tools pauses on exceptions in blackboxed script). Pausing only on uncaught exceptions isn't really an option, as the unit test driver catches all of them eventually, so it would never pause.
Is there either a way to toggle the option using JavaScript, or a fancier way to do it if I'm willing to write a browser extension (which I've done, but I'm not a whiz), or another technique of which I'm not aware?