Last active
March 7, 2018 06:21
-
-
Save eversionsystems/affd1876e58333476aae6fb0fb0de29c to your computer and use it in GitHub Desktop.
WP Config Debug Enable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('WP_DEBUG', true); | |
if ( WP_DEBUG ) { | |
// Enable Debug logging to the /wp-content/debug.log file | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
@ini_set( 'log_errors', 'On' ); | |
@ini_set( 'display_errors', 'Off' ); | |
@ini_set( 'error_reporting', E_ALL ); | |
@ini_set( 'error_log', 'php_error.log' ); | |
define( 'SCRIPT_DEBUG', true ); // Use non-minified versions of scripts | |
define( 'SAVEQUERIES', false ); // show queries | |
define( 'WCS_DEBUG', true ); // show scheduled jobs for WooCommerce under Tools menu | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment