Debugging formulas

In an on-premises or single-tenant environment you can use Visual Studio to debug your Infor Public Sector formulas.

First, put your site in development mode. On the RUNTIMEFLAGS node of the Hansen8 configuration, change the Runtime mode attribute from Deployment to Development.

Next, change the log level of your site to Info. To change the log level, use the System Information page or Logging configuration.

After saving your configuration changes, restart the site. You can then rebuild formulas, and Infor Public Sector generate source code files in the process. The output is in the Enhancement directory in the application directory.

You can then open the source code in Visual Studio, add relevant breakpoints, and attach the debugger.