Enable errors PHP WordPress 5.2

You can disable this behaviour by setting WP_DISABLE_FATAL_ERROR_HANDLER to true:

define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );

This will stop the “The site is experiencing technical difficulties” message from appearing, so errors will appear as they did prior to this feature being added.