-
-
Save wpmark/cfbad4e67e66b5e9df6b02194940fac8 to your computer and use it in GitHub Desktop.
Turn on WP_DEBUG and logging in wp-config.php
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
<?php | |
/** | |
* 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. | |
*/ | |
// this tells WordPress to output errors and warnings. | |
define( 'WP_DEBUG', true ); | |
// this logs the errors to a file called debug.log in your sites wp-content folder. | |
define( 'WP_DEBUG_LOG', true ); | |
// you could set this to true to output the errors to the screen. | |
define( 'WP_DEBUG_DISPLAY', false ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment