Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

User:Ankit Agarwal

From MoodleDocs

My config setup

2.3+ and Master

define('MDL_PERF', true); define('MDL_PERFDB', true); define('MDL_PERFTOLOG', true); define('MDL_PERFTOFOOT', true); error_reporting(-1); @ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS! $CFG->debug = 32767; // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS! $CFG->debugdisplay = true; // NOT FOR PRODUCTION SERVERS! $CFG->passwordpolicy = false; $CFG->phpunit_prefix = 'phpu_'; $CFG->phpunit_dataroot = '/var/moodledata/int/master/phpunit'; $CFG->enablecompletion = true; $CFG->enableavailability = true; $CFG->allowthemechangeonurl = true; $CFG->allowtypeexternal = true; $CFG->allowtypelocalsync = true; $CFG->allowtypeimsrepository = true; $CFG->allowtypeexternalaicc = true;

2.2 and 2.1

define('MDL_PERF', true); define('MDL_PERFDB', true); define('MDL_PERFTOLOG', true); define('MDL_PERFTOFOOT', true); @ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS! $CFG->debug = 39811; // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS! $CFG->debugdisplay = true; // NOT FOR PRODUCTION SERVERS! $CFG->passwordpolicy = false;