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