Bug fixing made easier on the eye

One of the best things about working with ColdFusion is the <cfdump> tag: give it a variable and it will lay out a visual representation of it in nice colours, which makes debugging so much easier and faster than in PHP. Trying to make sense of a four-dimensional array with just a bit of indenting causes brain injury, so dBug is a wonderful addition to the PHP developer’s toolkit. Arrays, objects and resources returned by database queries are all now beautifully readable:

untitled-1

untitled-2

The dBug site says it has been downloaded 26,000 times, which doesn’t seem like a lot given the size of the PHP developer community as a whole; maybe it helps to have used ColdFusion in order to know what you’re missing.

Leave a Reply

Search the blog

Categories

contact

accessibility

Access keys: press alt (Windows)/ ctrl (Mac)

+ 0 to skip to navigation

+ 1 to skip to main content

+ 2 to return to the home page

+ 3 to increase font size

+ 4 to decrease font size

(followed by Enter if using IE)

modify

click to increase font size

click to decrease font size