removed isDebug (already deprecated in v1)