Added template debug mode setting to dev profile.