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->behat_prefix = 'pbehat_'; $CFG->behat_dataroot = '/var/moodledata/stable/master/behat'; $CFG->enablecompletion = true; $CFG->enableavailability = true; $CFG->allowthemechangeonurl = true; $CFG->langstringcache = false; $CFG->forced_plugin_settings = array('scorm' => array('allowtypeexternal' => true, 'allowtypelocalsync' => true, 'allowtypeimsrepository' => true,'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 = 38911; // DEBUG_DEVELOPER // NOT FOR PRODUCTION SERVERS! $CFG->debugdisplay = true; // NOT FOR PRODUCTION SERVERS! $CFG->passwordpolicy = false;