in PHP

Useful error messages in Magento 2

When developing you need error reporting.

Are you seeing Exception logged when developing ?

Here is how to fix this in your development copy.

By default this folder is ignored by .gitignore, so it will not be pushed to production.

Also make sure that “display_errors” is set to true in your php.ini file.
Good luck!