Opens up a multiline debug buffer and adds the given message to it.
Additional messages can be added by calling appendDebug. The contents of the buffer will not be written to the log file until endDebug is called.