This shows PHP errors for your WordPress theme. It also checks that the user i an admin and error will only be displayed if it’s true.
Code Snippet:
if ( current_user_can( 'administrator' ) ) {
define('WP_DEBUG_DISPLAY', true);
@ini_set('display_errors', 1);
}