JLayoutBase::addDebugMessage

Add a debug message to the debug messages array