Fixed output of debug data when a debug message doesn't contain a newline