It would be nice if we could set DEBUG mode via the koha-conf rather than ENV as the ENV don't always seem to pass to all modules (e.g. Cache.pm)