moved debug setting to private settings