sokolovstas / SublimeWebInspector

Web Inspector allow you debug Javascript right in the editor
http://sokolovstas.github.com/SublimeWebInspector
MIT License
2.35k stars 92 forks source link

How to expand Object from a console.log() function #117

Open aolin480 opened 8 years ago

aolin480 commented 8 years ago

I am on a Mac, and I have the debugger working correctly, but for some odd reason I cannot expand an Object I am sending to the Javascript Console pane? I tried double clicking it, selecting it and clicking on evaluate, selecting the line and clicking on evaluate, I have no idea how to expand this like we can in Chrome Console?

Anything I am missing?

The line I am referring to is something like:

[LOG] http://localhost/wp-content/themes/MyTheme/includes/js/custom.js?ver=4.4.1:8 Object 

Thanks!

danmoseley commented 8 years ago

@aolin480 From my memory, we did not implement that feature. I bet it's totally doable, if you want to contribute. A workaround might be to stash the object in some global or otherwise make it easily accessible from the locals pane or easy to evaluate.