Why does a switching to the developer mode break my site?

How to diagnose Magento 2 errors