Enable debug only locally

Extracted from the silex skeleton: https://github.com/silexphp/Silex-Skeleton/blob/master/web/index_dev.php

I just inverted the condition to allow the debug to be set to true only in development, without having to forget to comment it when deploying.