Down the rabbit hole of a separate debug window that can talk to the main app and track things like events.  Very unclear if this will be even remotely useful.
Some more adds to get the simple debug popup ducktaped together enough to talk about it with sudobangbang