Use the debug component for errors.

* run the assets:install command after composer install/update
* use the Symfony Debug component when in debug mode
* ignore the bundles folder, which contains assets from the bundles.