Created
March 11, 2025 10:00
-
-
Save atiqsu/651f199b77f1185b51bd0de36fd4b2ea to your computer and use it in GitHub Desktop.
Wordpress debug config for development phase
This file contains hidden or 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); | |
define('WP_DEBUG_LOG', true ); | |
define('WP_DEBUG_DISPLAY', true ); | |
/* That's all, stop editing! Happy publishing. */ | |
/** Absolute path to the WordPress directory. */ | |
if ( ! defined( 'ABSPATH' ) ) { | |
define( 'ABSPATH', dirname( __FILE__ ) . '/' ); | |
} | |
/** Sets up WordPress vars and included files. */ | |
require_once( ABSPATH . 'wp-settings.php' ); | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment