Enable script debugging

Uncategorized

The application now supports debugging of custom scripts with the Visual Studio debugger.

  • First you need to turn on script debugging (Settings | Setup & Configuration | Parameters | Advanced). This will make sure scripts are compiled with debug information enabled
  • Next you can turn on a breakpoint for the script formula you want to debug (Settings | Setup & Configuration | Formula | … | Signal breakpoint)
  • Attach the Visual Studio debugger to the IIS process (w3wp.exe) and trigger the script.
  • The Visual Studio debugger will stop at the start of the script formula, you can now debug the script