Skip to content

Instantly share code, notes, and snippets.

@jasperf
Forked from JRyven/wp-config.php
Last active November 15, 2023 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperf/3ea170215ffd93adec079079240386f6 to your computer and use it in GitHub Desktop.
Save jasperf/3ea170215ffd93adec079079240386f6 to your computer and use it in GitHub Desktop.
WordPress Debugging Options
// 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