The DebugMessage data record is used for the communication with a M&C debug terminal. It transports the lines to be displayed in the terminal via the websocket and also the commands to be sent to the debug terminal using the /api/v1/debug API call the other way round.
Data Model
| Key | Type | Value |
|---|---|---|
| msg | String | The line to be transferred (without any newline character at the end) |
| error | Boolean | True if this is an error message issued by the backend rather than a message from the M&C |