Lucee Function Reference
breakpoint()
Programmatic breakpoint - like JavaScript's "debugger;" statement. Suspends execution when a debugger is attached, allowing inspection of variables. Returns true if breakpoint was hit, false if skipped.
Example
breakpoint([string label,[boolean condition]]):boolean
Category
debug,debugger
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Default Value | Description |
|---|---|---|---|---|
| label | string | No | Optional label to identify this breakpoint in the debugger UI. | |
| condition | boolean | No | true | When true, execution suspends. Use for conditional breakpoints. |