How to enable error and exception logging in Magento2?
Go inside root pub/errors
folder,
Just copy local.xml.sample to local.xml
Also you can enable display_errors
from app/bootstrap.php
file. At line no. 11 remove #
from the start of the line.
Now the final statement displays as ini_set('display_errors', 1);