Debugging In WordPress

Debugging in WordPress

Out of lack of knowhow of tools used to debugging, many dont know how to debug but the best that one should know is the wp-debug tool built-in WordPress. WordPress debugging helps in locating and removing software code errors.The tool assist in this process when turned on.

To perform debugging;

  • Log in to Cpanel
  • Click on file manager
  • Navigate to left tool bar and click on public html

 

 

 

  • Click on wp-config in public html files

  • Right click on it and there below change the following

 

 

  • It should read as WP-Debug true so ensure to change it. Then save

This way it means that its off and it helps to troubleshoot errors that may occur on your website. However its not good using it on a live site because website visitors might get to view your important details and paths.

To view your log errors log in to cpanel,check FTP connections and open public html, or SSH

Was this article helpful?

Related Articles

Leave A Comment?