debug mode moved to settings_local