Predicates
A predicate does not have any side effects because it is pure and thus it cannot create receipts.
Since there are no receipts they cannot use logging nor create a stack backtrace for debugging. This means that there is no way to debug them aside from using a single-stepping debugger.
As a workaround, the predicate can be written, tested, and debugged first as a script
, and then changed back into a predicate
.