We could think about adding hooks when something breaks. Secondly, we could use a graph visualisation tool to show that happened where in which order of messages. Tool: https://graphviz.org/