How to console log object details?

I would like to output objects to the console for debugging. What is the best approach? In my JavaScript browser development the console.log method would let me expand the object and inspect it. This doesn’t seem to work in the Extension Console.

All I could find for simple objects was to wrap a function around:

console.log(JSON.stringify(myThing))

2 Likes

Thanks @stuntrocket, I totally forgot about that workaround :).