One of the most closely-watched races in the city this election season is the Democratic primary for Brooklyn District Attorney (DA). One candidate has seemingly emerged as the frontrunner, but they will all have a chance to stand out Tuesday when NY1 hosts a live debate. Our Bobby Cuza has this preview.

For Acting Brooklyn District Attorney Eric Gonzalez, everything seems to be going his way.

From the day he kicked off his campaign, he's piled up endorsements from virtually every prominent city Democrat, including, just days ago, Congresswoman Nydia Velazquez and other women leaders. He's also raised an eye-popping $1.7 million, and can employ the power of the office, such as when he appeared at one of the mayor's recent town halls.

"We're going to continue to make sure that Brooklyn stays safe," Gonzalez said to a crowd of people.

Add it all up, and he looks like a frontrunner.

"I don't really perceive him as the frontrunner," said Patricia Gatling, another candidate for the DA spot. "I perceive him as the one with the money."

Gatling, a longtime prosecutor and former city human rights commissioner, is among the six candidates who will take the stage at NY1's debate Tuesday night. One name sure to come up is reform-minded former DA Ken Thompson, who died unexpectedly last year.

"Brooklynites have to make a big decision of who they want to carry on the legacy of Ken Thompson," City Councilman Vincent Gentile said.

Gentile, who represents part of south Brooklyn on the council, says he's the one. But Thompson tapped Gonzalez to succeed him, and Thompson's widow has endorsed Gonzalez.

"I think it's kind of disingenuous for us to talk about what Ken was thinking, and what Ken was doing, and 'This is what Ken wanted,' because Ken's not here to defend himself," Gatling said.

"The people voted Ken Thompson in; they didn't vote Eric Gonzalez in, and that's why we're all running now," said Ama Dwimoh, another candidate.

Dwimoh, also a former prosecutor who now works for Borough President Eric Adams, has hit Gonzalez for not pursuing those responsible for wrongful convictions.

Meanwhile, Anne Swern, another veteran of the DA's office, will likely highlight her alternative sentencing efforts.

The candidate who may diverge from the others is Marc Fliedner, a onetime head of the DA's civil rights bureau, who later stepped down and criticized Thompson's leadership.

Tuesday night's debate, featuring a panel of NY1 moderators, will run 90 minutes long and air live on NY1 from the BRIC Arts House in Fort Greene, Brooklyn, beginning at 7 p.m.