Added back debug method to settings class