converted debug setting to config var