renamed conf.debug to conf.isDebug