• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to enable debug mode

AndyB

Well-known member
#1
The purpose of this thread is to explain how to enable the debug mode in your admin control panel. Having debug mode enabled allows you to change the Execution Order of Template Modifications as well as make other changes not possible until you have enabled debug mode.

1) Open your library/config.php file in an editor

2) Add the following code to the bottom of the file

PHP:
if ($_SERVER['REMOTE_ADDR'] == '25.6.92.50') {
    $config['debug'] = true;
}
Change the IP address to your home IP address.

3) Save file

You can safely leave the debug mode enabled and there is no reason to disable it.