Home
/
Other Applications
/
How to set my MediaWiki in debug mode?

How to set my MediaWiki in debug mode?

Add the following line in your LocalSettings.php file to enable the debug mode:

$wgDebugLogFile = ‘/path-to-your-application/logfile’;

The path above should be the exact full path to the wiki directory under your account.

Share This Article