The stock market broke out of a three-week funk Thursday morning as Washington moved closer to a deal to allow the country to pile on more debt, the Associated Press reports.