Edit

Share via


Use live monitor to troubleshoot page behavior in model-driven apps

Live monitor can help you debug and diagnose problems, which help you build faster, more reliable model-driven apps. Live monitor provides a deep view into how an app runs by providing a log of all activities in your app as it runs.

Important

Live monitor must be run on the model-driven app and not directly on a custom page.

Start a live monitor session

There are two ways to open a live monitor session.

From Power Apps

  1. Sign in to Power Apps, select Apps.

  2. Select ... next to the model-driven app or on the global command bar, and then select Live monitor.

    Sample model-driven app

  3. On the Live monitor browser tab that opens, select Play model-driven app on the command bar.

  4. When prompted, select Join.

  5. The app loads in a new browser tab with a message indicating the monitoring session. Switch back to the live monitor tab to view activity. Monitored app session with message This app is currently connected to a monitor session.

From a model-driven app

  1. Play your model-driven app.

  2. Add &monitor=true to the end of the URL in your web browser, and then refresh the page.

  3. Select Live monitor on the command bar.

    Location of Live monitor button in global command bar

Filter monitored activity

When you filter on a model-driven app custom page-related events in live monitor, you can get information about related tables, tables, controls, and components, such as on a custom page, in live monitor as your app runs.

Monitoring a model-driven app that has a custom page using the canvas app gallery control

For example, to filter on the custom page that uses the Gallery1 control, select the Control column header > Filter by, enter Gallery1, and then select Apply.

For more information about model-driven app monitoring, go to Debug a model-driven app with live monitor

Close a live monitor session

To close the monitoring session, close the browser tab where the monitored model-driven app is playing.

Next steps

Use live monitor to troubleshoot model-driven app form behavior