If you are a ColdFusion developer then you are familiar with the tag <cfdump> that displays the contents of simple and complex variables, objects, components, user-defined functions, and other elements within ColdFusion. This tag allows for simple debugging, showing you the metadata, data, and structure of any variable object.
Once you become familiar with this tag as a developer, you become more and more reliant upon the ease of use, simplicity, and capabilities that it offers when developing ColdFusion applications. Now, you just wished this capability was available in other languages that you may use.
You may not be aware, but the <cfdump> tag has been ported over to other programming languages you may be using, which will dramatically increase your ability to effectively debug your applications; whether you are using JavaScript, PHP, or other languages. NetGrow has released a dump method for JavaScript which resembles the <cfdump> tag, and dBug for PHP. I highly suggest you check out this little gems for developing in either PHP or JavaScript.
Here is an example dBug output from PHP:
Here is an example dump method output from JavaScript:

No Comments, Comment or Ping
Reply to “JavaScript variable dump”