1. Home
  2. Support
  3. How can I enable WordPress debugging?

How can I enable WordPress debugging?

WordPress debugging can be enabled to help track down any site related issues.

There are a few different combinations of code that can enable the debug log. However, I’d recommend enabling the following code inside of your wp-config.php file.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

This code enables the debug log, enables the debug.log file so that the output is sent to that file, and disables the display of any errors so they are not shown live on the webpage.

The debug.log file will be found in the wp-content folder.

If you have any additional queries be sure to contact us via our support channels for further assistance.

Updated on October 31, 2021

Related Articles