Arsenal fought back to beat Leicester City in a thrilling start to the 2017-18 Premier League season.
The Gunners trailed 3-2 with seven minutes to go before Aaron Ramsey and Giroud swung the game back in the home side’s favour at a euphoric Emirates Stadium.
Alexandre Lacazette headed the Gunners ahead 94 seconds into his top-flight debut, only for Shinji Okazaki to nod in an equaliser just two minutes later.
Vardy then slid the visitors ahead from Marc Albrighton’s cross, before Danny Welbeck drew Arsenal level at the end of a pulsating opening half.
Leicester took the lead again when Vardy headed in Riyad Mahrez’s corner before Arsene Wenger made an inspired double substitution which sparked Arsenal’s comeback.
Substitute Ramsey smashed in an angled drive – from a corner which was won after Mesut Ozil handled in the build-up – before Giroud showed athleticism and strength to meet Granit Xhaka’s corner.
Giroud’s days at Arsenal appeared to be numbered following the arrival of fellow France striker Lacazette from Lyon for a club-record £46.5m fee.
And Wenger revealed after Friday’s win that Giroud, who has scored 97 goals in 231 appearances since joining from Montpellier in 2012, could have left the Gunners this summer.
“At one stage I opened the door for him as I knew I had many strikers, and in the end he decided to stay,” said Wenger.
“He doesn’t want to leave and I’m happy he wants to stay.”
The 30-year-old wasted no time in proving his worth with another vital goal after coming on as a substitute.
Giroud offers a different, more physical option for Wenger, but is hoping for a more substantial role at the club.
Since the start of last season, he has scored seven Premier League goals when coming off the bench – three more than any other player in the same period.
“I prefer to be on the pitch as much as I can but I want to help the team reach the targets,” he said.