Skip to content

Instantly share code, notes, and snippets.

@nathanstanford2
Created December 21, 2012 14:43
Show Gist options
  • Save nathanstanford2/4353213 to your computer and use it in GitHub Desktop.
Save nathanstanford2/4353213 to your computer and use it in GitHub Desktop.
Coldfusion: Dump Function (CFScript)
<cffunction name="dump" output="true">
<cfargument name="variable" type="any" required="true" />
<cfargument name="abort" type="any" default="false" />
<cfdump var="#arguments.variable#" />
<cfif arguments.abort eq "true">
<cfabort />
</cfif>
</cffunction>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment