How to access instance objects created by an add-on from the debug console?

Total newbie here trying to study some add-ons created by Glutanimate. I wanted to try and use the debug console to print() some of the variables he uses in his add-on to better understand what is going on. However, I have no idea how to access them from the debug console. Could anyone enlighten me?

Okay to anyone who was wondering, it turns out one can simply use anki.utils.showText(str) within the addon code to create a dialog that prints out variables in the code that you want.