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