Add a version of the debug() function that adds newline automatically

A different function, or just an optional parameter.