Skip to content

Javascript version of ColdFusion CFDump

twitter logo 惻1 min read  

The Dump method is based on one of the tags available in Coldfusion <cfdump> providing the ability to display simple and complex variables in a user friendly way that is perfect for debugging/inspecting data.

Some environments don't allow for CFDump or maybe you want to inspect a javascript object and aren't able to use the browser of your choice. This JavaScript method "Dump()" from 2006 allows you to "CFDump" javascript objects.

Server-Side Example

var t = #serializeJson(server)#;

Source Code

NOTE: This is a 6/21/2013 repost from my Tumblr blog.

twitter logo DISCUSS
Classic DEV Post from Jun 15 '19

What are your favourite resources for beginners?

What resources would you give a new team member who is also starting their first tech job?

James Moberg profile image
Iā€™m a ColdFusion web application developer at SunStar Media located in Monterey, CA. I am a fan of technology, music and web development.

Sore eyes? now has dark mode.

Go to the "misc" section of your settings and select night theme ā¤ļø