WP_Debug is a constant (a permanent global variable) that when enabled will display any PHP errors on the front-end of your site, and this is the most useful tool when troubleshooting your site for any potential errors or warnings. If disabled and your site has an error you may see a blank white screen or content missing on the site but no error message, that makes it nearly impossible to figure out what the problem exactly is.
If you are looking for a one-click method or you are not comfortable editing a file using FTP access in general simply use this plugin to turn on
WP_DEBUG mode instead.
Install and activate SO Turn On Debug plugin.
Follow the steps below to enable
WP_Debug for your WordPress installation.
Access your website’s root folder via FTP or SFTP.
Open this file in any text editor.
WP_Debug and if you find it set the value to
TRUE if currently set to
If you didn’t locate
WP_Debug scroll down near the bottom of the file and add the following code right before the line that says
That's all, stop editing! Happy