Badge generation debugging