Can't turn off Debugging

Can't turn off Debugging

by Sam Adams -
Number of replies: 5

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: -
In reply to Sam Adams

Re: Can't turn off Debugging

by Ken Task -
Picture of 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)
In reply to Ken Task

Re: Can't turn off Debugging

by Sam Adams -

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 

In reply to Sam Adams

Re: Can't turn off Debugging

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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