How to enable/disable DEBUG and DEV modes?

Use DEBUG mode to track fatal, MySQL, and other errors on your site.

Use DEV mode to recompile the source during the development process to see changes you have made in the code immediately after refreshing the page.

How to enable DEBUG and DEV modes

Follow the steps below to make changes in the cPanel interface.

1. Login to your cPanel account.

2. Go to File Manager

3. Browse the /ow_includes directory.

3. Open the config.php file in the Edit mode.

4. Change the value of the OW_DEBUG_MODE or OW_DEV_MODE constant from false to true or vice versa.

You can follow the same steps to enable the modes using FTP or SSH clients.

Note: Once you are done with your activities, remember to change the value back to false in the live production environment.