The national debt passed $40 trillion on August 18, roughly double its level a decade ago.