Comment on page
Previewing your app
Bubble is a WYSIWYG editor, which means that what you see in the editor is generally what you will see in the finished app. Every alteration you make within Bubble is instantly saved, allowing you to preview your evolving app on-demand.
To preview your app, click the Preview button in the upper right corner of the Bubble toolbar. This will open up a new tab where your app will load.
By default, your application is split into two distinct environments: Development and Live. This structure allows you to continue refining your application without affecting the live version. Whenever you click the Preview button, Bubble automatically runs the Development environment, often called version-test.
You can recognize this by the URL that Bubble opens:
The URL shows that this is the preview of your app, and not the Live environment
To run the app in Live, you first need to deploy it.
When you preview your app, you can run the app as a specific user to test how the app behaves as that user. This is particularly useful when you work with privacy rules and conditions: some users may not have access to specific data and actions, and by running the app as different types of users, you can make sure that it behaves in the expected way.
The run as feature is found in the Data – App Data section when you have the user data type selected. You'll see the list of users in the data table, and on the left-most column of the table you'll see a text link that says Run as.
The Run as feature lets you preview the app as a specific user.
You can also run as a specific user in your live app. To do that, switch the database view to the live database (see the red link that says Switch to live database) in the upper right corner of the screenshot above).
If you are experiencing issues in your app, you can run it in different Safe modes to try to identify where the problem lies. To preview the app in safe mode, press and hold the Preview button. You will see a menu that lets you choose between a few different modes.
Running in safe mode does not affect Live in any way.
This will preview the app without any added custom HTML.
This will disable any community-built plugins before previewing. Note that Bubble-built plugins will still be enabled.
This will both disable community-built plugins and HTML. Note that Bubble-built plugins will still be enabled.
Running any of these preview modes will add a URL parameter to your preview's URL. To disable the safe mode, you can either:
- Remove the URL parameter from the URL
- Click the Preview button in the upper right corner again without holding
Previewing your app also give you access to the debugger. The debugger lets you troubleshoot and inspect the real-time behavior of your app. It provides insights into workflow execution and element properties.