make it possible to enable/disable the debug mode via config.yml

You can now disable the debug mode when developing (less queries, faster page load time).