How to display realtime info about a variable

I use a program called Übersicht to display information on the desktop.
See this post:

One of the widgets is a text file, which gets update via a KM Macro.
So this is one to display the contents of a variable.