An interactive from The Wall Street Journal:

Historically, the U.S. has run up debt during wars and recessions, but then debt has substantially declined.