How we know we have Enable WP_Debug in WordPress code example Example: how to enable wp_debug // This enables debugging. define( 'WP_DEBUG', true );