Restored "idDebugEnabled" check.