How to enable debug mode in Moodle?

If we continuously receive errors in our Moodle it is best to activate the debugging mode and thus be able to identify the problems

One way is to activate the maintenance mode first and then go to Site Administration -> Development -> Debugging, then in the drop-down list select "Developer"

Another way is by directly editing the config.php file and placing the following code at the beginning:

@error_reporting (E_ALL | E_STRICT);

@ini_set ('display_errors', '1');

$ CFG-> debug = (E_ALL | E_STRICT);

$ CFG-> debugdisplay = 1;

  • Email, SSL
  • 1 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Related Articles

How to install WordPress and choose a web design?

Installing WordPress and start developing your website is more than simple, for this reason in...

How to install WordPress in a temporary URL?

Many times for one reason or another we need to use temporary URLs, either because we need to...

How to install Wordpress?

1. Access your cPanel account 2. Click on "Softaculous" 3. Click on "Install Wordpress" 4. Now...

How to optimize Wordpress?

WordPress is the most popular content platform for websites in the world. But one of WordPress...

How to increase the limit allowed by WordPress to upload files?

  Sometimes it is necessary to extend the limit that WordPress has to upload files.   This...