Debug Javascript – Object Inspection

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 :-)




One thought on “Debug Javascript – Object Inspection

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to top