How to enable debug mode in MOODLE config.php

Add to config.php file before include:

@error_reporting(E_ALL | E_STRICT); 
@ini_set('display_errors', '1'); 
$CFG->debug = (E_ALL | E_STRICT); 
$CFG->debugdisplay = 1;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.