WPCloud Deploy Documentation

Managing WordPress DEBUG Flags

WordPress can output debug information to a file called debug.log.  However, for this to occur, certain flags need to be set in the WordPress wp-config.php file.  We have a one-click option to turn these flags on as follows:

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the TOOLS tab
  • Scroll down to the MANAGE DEBUG LOG section
  • Click the ENABLE IT button
  • Click the OK option on the confirmation popup

After a while the screen will refresh – if the operation is successful.  If the operation fails, you’ll get a popup message.

You can see a full log of the operation under the SSH LOG screen.

To disable the flags:

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the TOOLS tab
  • Scroll down to the MANAGE DEBUG LOG section
  • Click the DISABLE IT button
  • Click the OK option on the confirmation popup

Important Notes

Do not manually delete the debug.log file from the wp-content folder unless you are ready to turn off the debug flags.  Once the file is deleted, the permissions set for the file will NOT allow WordPress to re-create the file.  Instead, you will need to turn off the flags and turn them back on (which will create a new blank file that WordPress can write to).

Additional Resources

Debugging In WordPress 

Share: