Set User IDs that will always see debug messages
There’s a handy feature in Moodle configuration called $CFG->debugusers = '<moodle_user_ids>'
that allows you to set certain user IDs to always see debug messages regardless of the setting for site under:
This can be a comma separated list of Moodle User Ids (from the user table). Set this in the config.php
or see config-dist.php
for more details.
Useful if you need to troubleshoot an error but don’t want to increase debug level for the entire system and catch messages for the other users in the system too.
No Comments