Last active
October 27, 2021 08:26
-
-
Save ameri110/242bc0af5daebf46579720f995d0b643 to your computer and use it in GitHub Desktop.
wordpress debug
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
| /** | |
| * ADD FOLLOWING TO wp-config.php FILE | |
| * | |
| * For developers: WordPress debugging mode. | |
| * | |
| * Change this to true to enable the display of notices during development. | |
| * It is strongly recommended that plugin and theme developers use WP_DEBUG | |
| * in their development environments. | |
| * | |
| * For information on other constants that can be used for debugging, | |
| * visit the Codex. | |
| * | |
| * @link https://codex.wordpress.org/Debugging_in_WordPress | |
| */ | |
| ini_set( 'log_errors', 'On' ); | |
| ini_set( 'display_errors', 'On' ); | |
| ini_set( 'error_reporting', E_ALL ); | |
| define( 'WP_DEBUG_LOG', true ); | |
| define( 'WP_DEBUG', true ); | |
| define( 'WP_DEBUG_DISPLAY', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment