Debug Business Objects

Because Visual Builder uses a multi-tier architecture, you might need to debug your application at different levels to identify the root cause of an issue. This might include the business object layer, where data access to and from a client application occurs through REST API endpoints.

While you can use the Network tab in your browser's development tools for external REST APIs, Visual Builder's built-in tracing and logging mechanisms can help you troubleshoot issues when you create business objects as the data source for your user interface. Because data from a business object is written to the UI via REST APIs, you might want to enable tracing to track the response times of individual REST calls. You can also enable logging to view events triggered by your business rules, in addition to diagnostic messages logged by custom Groovy scripts.