Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress debug mode

//On your wp-config.php:
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'On' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true ); //default location: /wp-content/debug.log
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define('SAVEQUERIES', true);
 
PREVIOUS NEXT
Tagged: #wordpress #debug #mode
ADD COMMENT
Topic
Name
6+6 =