Add debugging information to UpgradeChecker