wp debug in wordpress code example Example 1: wp debug define( 'WP_DEBUG', true ); Example 2: how to on debug on wp define( 'WP_DEBUG', true );