Created
April 8, 2013 11:28
-
-
Save stefthoen/5336098 to your computer and use it in GitHub Desktop.
Add this code to wp-config.php. Now I can open any page, and if something goes wrong there, like a white screen of death, I add ?debug=debug to its URL and see what’s causing the trouble.
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
if ( isset($_GET['debug']) && $_GET['debug'] == 'debug') | |
define('WP_DEBUG', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment