Debug preferences alteration and query update