patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

Debug code to log, not to screen #166

Closed ccorda closed 1 year ago

ccorda commented 1 year ago

As a default for local dev, we've been using the following:

define('WP_DEBUG_LOG', true );
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

This will log to a debug, without warnings filling up screen.

Also need to make sure this file is gitignored.