Only output to stdout when debugging (again)

Commented out some code while testing, and it crept into a previous
commit.