General developer forum

Can't turn off Debugging

 
Picture of Sam Adams
Can't turn off Debugging
 

Hi,

How can I turn off the debugging in Moodle as I couldn't turn it off from the moodle itself?

What codes should be added to the config.php in order to implement that?


THanks

 
Average of ratings: -
Picture of Ken Task
Re: Can't turn off Debugging
Particularly helpful Moodlers

If one cannot turn off debugging from the Moodle Admin UI, there are more than likely lines in config.php of the site that have turned it on.   If they are present, just comment them out by putting // in front of each of the lines that pertain.

To see what those lines should/might look like, see [yourcodedirectory]/config-dist.php file - Section 7.

'spirit of sharing', Ken


 
Average of ratings: Useful (1)
Picture of Sam Adams
Re: Can't turn off Debugging
 

Thanks

I understand that the configurations are setting in config.php but I want to know the exact code and how to change it to turn off the debugging 

 
Average of ratings: -
Picture of Marcus Green
Re: Can't turn off Debugging
Core developersParticularly helpful MoodlersPlugin developersTesters

What has your web searches shown up so far?

 
Average of ratings: -
Picture of Richard Oelmann
Re: Can't turn off Debugging
Core developersParticularly helpful MoodlersPlugin developersTesters

"To see what those lines should/might look like, see [yourcodedirectory]/config-dist.php file - Section 7."

 
Average of ratings: -
C'est moi :-)
Re: Can't turn off Debugging
Documentation writersParticularly helpful MoodlersTestersTranslators

See also debugging documentation and make the opposite than how to enable it.

 
Average of ratings: -