Debug Javascript – Object Inspection

Posted by in Software

Many times, you have objects where you may or may not know their content. If you’re running in the browser, life is easy as you can pause the code and inspect the object. at command line is a bit more annoying. In this case, at least for the first run, you can execute something like:

where obj is your mystery object.

HTH,


A little experiment: If you find this post and ad below useful, please check the ad out :-)