breakpoint([result])

When an Origami expression is executed in a debugger, the @breakpoint function will pause execution. The indicated result will be returned as the result of the expression. You can wrap any expression in @breakpoint to pause execution at that point and inspect the state of the program.

See also @log.