Sen. Elizabeth Warren at Tuesday’s Democratic primary debate ripped Mike Bloomberg for alleged past sexist remarks he made  — saying that at least she never had a boss who told her to “Kill it” when she was pregnant.

The Massachusetts lawmaker also trashed Bloomberg LP’s practice of having women sign nondisclosure agreements binding them to silence, as she did during last week’s debate in Nevada.

“If he says there is nothing to hide here, then sign a blanket release and let those women speak,” she said.

Warren said the women bound by the NDAs should have the opportunity to speak out about their experiences — just like she does.

She recalled being a 21-year-old teacher and having her principal telling her to pack up and leave when he found out she was expecting.

“Pregnancy discrimination, you bet,” Warren said. “At least I didn’t have a boss who told me to ‘Kill it.’”

She was referring to a claim made in the 1990s by an ex-Bloomberg employee, who said the former New York mayor told her to “Kill it” when she announced her pregnancy.

The claim arose in a discrimination lawsuit settled out of court, reported by ABC News in December.

Bloomberg has repeatedly denied the allegation, reiterating on the debate stage in South Carolina: “I didn’t say it.”

He also criticized Warren for again bringing up the NDAs, and said he had, as Warren had called for in last week’s debate, signed a blanket release to allow the women who signed the documents speak out.

“The trouble is with this senator is enough is never enough,” he said.

The billionaire businessman also said he was “probably wrong” to make jokes female employees found offensive.

“I don’t remember what they were. So I assume I — If it bothered them, I was wrong,” he said. And I apologize. I’m sorry for that.”