Move DEBUG setting in local settings