How to enable debugging mode for WordPress

It is as simple as following those steps:

  •  add the following code in wp-config.php above the comment /* That’s all, stop editing! Happy blogging. */

// Enable WP_DEBUG mode

define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file

define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings

define( 'WP_DEBUG_DISPLAY', false );

@ini_set( 'display_errors', 0 );

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)

define( 'SCRIPT_DEBUG', true );

  • check the file called debug.log inside your wp-content directory. You can use this error log to identify and potential plugin conflict or other probelms.

Published by James Munford Manager. This project started as a little tool to help me in my own projects and finally after several request I set it up for public usage and allow any WooCommerce user facing this issue to have a simple way to manage WooCommerce Bulk Attributes importing.

Leave a comment

Your email address will not be published. Required fields are marked *