-
Improvement
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-80206-main -
So often it can be easy to miss a call to debugging() in the output. That may be because it's halfway down a page, or underneath a navbar.
Now that we have added Whoops support, I wonder whether it is also worth having a new option to have calls to debugging() throw a fatal error.
This will surface them so they are not possible to miss and, when used with whoops, are easier to debug.
I would almost go as far as saying that it should be on by default when whoops is available.