yan-k
10/18/2015 - 8:04 PM

tail -f wp-content/debug.log

tail -f wp-content/debug.log

<?php

define( 'WP_DEBUG', true );
if ( WP_DEBUG ) {
    define ('JETPACK_DEV_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'SCRIPT_DEBUG', true );

    if ( defined( 'DOING_AJAX' ) && DOING_AJAX || defined( 'DOING_CRON' ) && DOING_CRON ) {
        define( 'WP_DEBUG_DISPLAY', false );
        @ini_set( 'display_errors', 0 );
    } else {
        define( 'WP_DEBUG_DISPLAY', true );
    }
}