The debug variable should be an int
Adds Raven to INSTALLED_APPS only if the Sentry addon is installed