Glimpse / Home

Project Glimpse: Node Edition - Spend less time debugging and more time developing.
http://node.getglimpse.com
Other
252 stars 9 forks source link

[Logs] Calls to console.dir don't seem to appear #38

Closed lostintangent closed 7 years ago

lostintangent commented 8 years ago

In practice, I believe most devs would use console.log, since that provides the same kind of behavior as console.dir does (at least in most tools), however, there are apps that may be using console.dir from a historical perspective, and so it would be ideal if Glimpse displayed them as part of supporting the standard console API.

nikmd23 commented 8 years ago

Our original spike instrumentation of the console API didn't handle objects at all.

We've since added support for displaying objects, so let's make sure we're proxying .dir (client and server side) now too.

nikmd23 commented 8 years ago

In addition to console.dir, we should also support console.dirxml, although I don't think converting the object to XML is required I'm on the fence on if we should convert the object logged to XML or try to grab its outerHTML - sending over that string. I'd love to know more about the technical implications of this.

nikmd23 commented 7 years ago

👌

nikmd23 commented 7 years ago

This is now available in version 0.14.1. For more information, please see our announcement. If you continue to experience this issue, please let us know. - :heart: the Glimpse team.