How to Debug Maestro Business Rules

   MaestroPreviously known as Transact Maestro.  |   Form Builder |  v5.1 & Higher This feature is related to v5.1 and higher.

Chrome developer tools include many useful plugins and extensions that can be used for debugging Maestro forms and business rules. One of them is a debugger, which allows you to set breakpoints in your business rule’s JavaScript, or any JavaScript.

To open the Developer tools, click Ctrl +Shift+l and click the Console tab.

A quick way to trigger the debugger from inside your own rule code is to include the 'debugger;' statement in your code as you are developing it. When the statement is executed in a rule, the debugger is activated, so you can inspect the values of variables in the debugger, or in the Console tab. Make sure to remove any debugger statements when you have finished debugging.