Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Debugging.


From MoodleDocs

I see:

   $CFG->debug = 8191;     // 1111111111111

What is each bit in the bit mask?

The values correspond the the values taken by the PHP error reporting function.--Tim Hunt 21:28, 4 May 2010 (UTC)