Show errors

Scenario 1: Show errors on specific page:

Add the following code at the top of file for which you want to enable error display

Scenario 2: show errors Globally on all wordpress pages:

Update the following code inside wp-config.php file