Skip to content

Instantly share code, notes, and snippets.

@phantom42
Last active August 22, 2016 17:51
Show Gist options
  • Save phantom42/5319311 to your computer and use it in GitHub Desktop.
Save phantom42/5319311 to your computer and use it in GitHub Desktop.
CF to dump scopes - especially useful for debugging or working on pages you're unfamiliar with
<!--- local/variable scope --->
<cfdump var="#getPageContext().getVariableScope()#" expand="false" label="variable scope"/>
<!--- all scopes LT cf10 --->
<cfdump var="#getPageContext().getBuiltInScopes()#"/>
<!--- all scopes cf10+ --->
<cfdump var="#getPageContext().getCFScopes()#"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment