wp enable wp debug log code example Example: how to enable wp_debug // This enables debugging. define( 'WP_DEBUG', true );