We changed how debugging works in 5.3, previously you needed both debugging enabled and a template defined, but you can now enable debugging without needing a template (just viewing the logs in the admin or via the API).
But, isDebugMode()
still checks for a template too.
I would like to change that to only return whether debugging is enabled, it’s stricter so I don’t see it being so risky, but happy to hear feedback on the idea.
We could then add a new function isDebugOutputEnabled()
which behaves like isDebugMode()
currently does?
Thoughts?