breakpoint

Pauses execution when a debugger is attached, like JavaScript's debugger statement. Returns true when execution was paused.

breakpoint([label] [, condition]) → returns boolean

This function requires Lucee 7.1.0.45 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

label string

A label for this breakpoint, shown in the debugger.

condition boolean
Default: true

Only pauses when true.

Examples
Sample code invoking the breakpoint function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub