how to turn on debug mode in wordpress code example Example: wordpress debug mode // This enables debugging. define( 'WP_DEBUG', true );