Created
July 21, 2022 17:16
-
-
Save JRyven/d5b485daa3fc7af58ff5627651ce4cd2 to your computer and use it in GitHub Desktop.
WordPress Debugging Options
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
// general PHP and WordPress warnings, error messages and status information | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WPS_DEBUG', true ); | |
// script and style | |
define( 'WPS_DEBUG_SCRIPTS', true ); | |
define( 'WPS_DEBUG_STYLES', true ); | |
We would also recommend to clear any caches after script or style debugging has been enabled or disabled. | |
// DOM parcing | |
define( 'WPS_DEBUG_DOM', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment