CHARLESTON, S.C. — Democratic presidential candidates criticized President Donald Trump's response to the coronavirus outbreak during their debate Tuesday night, blasting budget cuts his administration has made to the Centers for Disease Control and Prevention and his thrashing of the U.S.'s international relationships.

"This president has not invested like he should have in his budget. He tried to cut back on the CDC. He tried to cut back on the international organizations that would coordinate with the rest of the world. He hasn't yet really addressed the nation on this topic," said Sen. Amy Klobuchar, D-Minn. "I would do all of that."

Klobuchar was asked by the CBS moderators whether she would close the border to Americans who had been exposed to the virus, but she did not answer.

"What we have to do is make sure that we have treatment for those Americans and that they are in a quarantine situation," she said. "We don't want to expose people, but we want to give them help."

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Former New York Mayor Mike Bloomberg said: "The president fired the pandemic specialist in this country two years ago. There's nobody here to figure out what the hell we should be doing."

For his part, former Vice President Joe Biden took the opportunity to remind voters of his work during the Ebola crisis in 2014, saying: "We did it. We stopped it."

"I would be on the phone with China making it clear we are going to need to be in your country. We have to be there with you and insist on it," Biden said. "No one up here has ever dealt with world leaders. I am the only one that has."

Full coverage of the coronavirus outbreak

Federal health officials said Tuesday that they expect the coronavirus to spread wider in the U.S. and that they are preparing for a potential pandemic. CDC officials said the virus could disrupt daily lives, including closing schools, forcing people to work from home and delaying elective medical procedures. Wall Street plunged for a second straight day Tuesday, with the Dow Jones Industrial Average closing down 877 points.

Trump tweeted during the debate that his administration was "doing a GREAT job" handling the coronavirus.

CDC and my Administration are doing a GREAT job of handling Coronavirus, including the very early closing of our borders to certain areas of the world. It was opposed by the Dems, “too soon”, but turned out to be the correct decision. No matter how well we do, however, the..... — Donald J. Trump (@realDonaldTrump) February 26, 2020

Sen. Bernie Sanders, I-Vt., mocked Trump's claims that the coronavirus is "under control."

"In the White House today, we have a self-described 'great genius' — self-described. And this great genius has told us that this coronavirus is going to end in two months," Sanders said. "I wish I was kidding. That is what he said."

Download the NBC News app for breaking news and politics

Sanders linked the coronavirus outbreak, which originated in China, to other global problems, such as climate change.

"Whether or not the issue is climate change — which is clearly a global crisis requiring international cooperation — or infectious diseases like coronavirus, requiring international cooperation, we have to work and expand the World Health Organization," Sanders said. "This is a global problem. We've got to work with countries all the over the world to solve it."