Fixed a bug where debug would have truncated output.