From time to we all need to debug javascript, and nothing works better than dumping our variables to see the contents. There are several tools out there to help but I recently came across another pretty cool script: prettyPrint. prettyPrint creates a cfdump like grid to dump out the contents of most any data type in javascript. Check it out:

Pretty nice tool. There’s also talk on there about if it could be integrated into firebug/firefox. That would be awesome!

Be Sociable, Share!

Related posts:

  1. ColdFusion Style Dumps in PHP
  2. Nothing Better than a Good Dump!
  3. Scheduled Tasks Super Easy in Ubuntu
  4. Javascript Ordering Object: Order Your Hash
  5. Javascript Heredoc Like Syntax