Debra Messing 'Dismayed' at Megyn Kelly's 'Gay' Remark During 'Will & Grace' Interview

The 'Will & Grace' star also claims that she was unaware her 'Today' appearance would be on Kelly's show.

Not everyone was happy with Megyn Kelly's interview with the Will & Grace cast, including Debra Messing.

The 49-year-old actress responded to a fan on Instagram after she and her co-stars went on Megyn Kelly Today on Tuesday to promote the NBC show's revival, to express "dismay" over a controversial comment Kelly made on the show generated controversy online.

"Honestly, I didn't know it was [Megyn Kelly] until that morning," Messing wrote. "The itinerary just said Today Show appearance. Regret going on. Dismayed by her comments."

ET has reached out to the Today show.

A source who witnessed the exchange tells ET it was taken as an obvious joke on-set.

“She was obviously making a joke, that was clear to the ‘superfan’ — who was ecstatic, and the audience,” the insider says. “It became even clearer when she spent much of the interview asking the show’s creators how proud they were of the positive social impact of ‘Will & Grace’ and the progress it brought about for gay rights.”

“Is it true that you became a lawyer -- and you became gay -- because of Will?” Kelly asked a superfan of the soon-to-be revived show who was invited to meet the cast on Tuesday's Today.

“I look at Will Truman and I’m like, ‘He has it made!’ Lawyer, best apartment in New York City, and gay?” the fan replied to the questionable inquiry. “Come on, trifecta!”

While the fan did not respond with offense, many on Twitter did take issue with the remark.

A few were more sympathetic to Kelly, suggesting the awkward gaffe is a teachable moment. Indeed, Kelly did spend some of her segment asking the cast about former Vice President Joe Biden's past comments about how important the show was to advance LGBT acceptance.

Messing's co-star tweeted a photo from on-set during the appearance, writing, "Having fun on the premiere episode of @megyntoday."

Meanwhile, ET recently chatted with Messing about the iconic comedy series, and she explained why the creators had to throw out the original series' ending.

Watch the video below for more.

Will & Grace returns to NBC on Thursday at 9/8 c.