Can you disable the ionic error handler?

I’m already in the devtools, and the ionic error handler means I can’t put a breakpoint on uncaught exceptions (it catches them), and putting breakpoints in caught exceptions means I have to keep hitting “continue” a hojillion times as the polyfills test browser functionality.

the documentation makes no indication as to how I would just turn this functionality off.

I haven’t tested this, but does simply commenting out the following line in app.module.ts disable it?
{provide: ErrorHandler, useClass: IonicErrorHandler}

If not, the next thought I have is creating a custom dummy error handler and replacing useClass: IonicErrorHandler with userClass: DummyErrorHandler.

1 Like

aha, yeah - that does it. silly me, I should have looked there. thanks.