Add debug for version checks