Outputs the contents of a variable of any type for debugging purposes. The variable can be as simple as a string or as complex as a cfc component instance.
<cfdump var="">
writeDump(var = cgi, label = "CGI Scope");
truetruefalsetexthtmltexttruetruefalsebrowserbrowserconsolefilenametruetruefalsefalsetruefalse<bx:dump> in BoxLang
Outputs a listing of all the variables in the server scope.
<cfdump var="#server#" label="Server Scope">
Outputs a listing of all the variables in the server scope.
writeDump(var = server, label = "Server Scope");
Outputs a listing of all the variables in the server scope. Only for LUCEE.
dump(var = server, label = "Server Scope");
CF 9+ Specifying the "abort" attribute without corresponding value is equivalent to assigning it with a "true" value. However, when this attribute is excluded, the default value of "false" is applied.
<cfdump var="#server#" abort>
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.