jsDebug 0.1

A simple debugger for javascript objects.

Using the following object:

      var followingObject = {
        'title': 'followingObject',
        'size': 10,
        'price': 9.99,
        'comments': [
          {
            'title': 'Comment 1',
            'content': 'This is what the first comment said.'
          },
          {
            'title': 'Comment 2',
            'content': 'This is what the second comment said.'
          },
          {
            'title': 'Comment 3',
            'content': 'This is what the third comment said.'
          },
        ],
        'valid': true
      }
    

Dump the object.

      Dump(followingObject);
    

Dump the object with the options: { depth: 5 }.

      Dump(followingObject, {
        depth: 5
      });
    

Dump the document object.

      Dump(document);
    

Hope this helps someone.

BTW this is free, you can modify it however you like and all that good stuff.