For the complete documentation index, see llms.txt. This page is also available as Markdown.

Previewing a web app

How to preview a Bubble web app inside the editor or in a new browser tab, test it as a specific user, and use safe preview options to isolate issues.

This section describes previewing web apps. If you're looking for documentation on previewing native mobile apps, see the article below:

Article: Previewing a mobile app

Bubble makes it easy to preview your web app while you build. Previewing lets you test functionality, check design changes, and make sure everything works the way you expect before deploying your app to live users.

This article explains the different ways you can preview your web app from the Bubble editor.

Preview options

You can preview your app inside the editor with the play icon, or open it in a separate browser tab with the new tab icon in the top-right corner of the editor. Here's how the two compare:

Method
Where it opens
Best for

Inside the editor

Quickly checking a change, and testing your app as different users

In a new browser tab

Testing the full page in a regular browser window, such as with the debugger

Preview mode

You can preview your app without leaving the editor. Instead of opening your app in a new browser tab, the preview loads right where you're working, so you can check a change and get back to building in a few clicks.

Opening preview mode

1

Open the page you want to preview

Use the page dropdown in the top bar to open the page you want to test.

2

Click the play icon

Click the play icon at the top of the left-hand toolbar. Your page loads in the editor, and you can click, type, and run workflows just as your users would.

3

Go back to editing

When you're done, click one of the other icons in the left-hand toolbar, such as the Design tab, to go back to building.

Previewing as a specific user

Many apps look and behave differently depending on who's logged in. An admin may see pages that regular users can't, and each user sees their own data. With Preview as, you can run your app as a specific user from your database, and check what they see without logging in and out yourself.

1

Open the Preview as dropdown

In preview mode, click the Preview as dropdown in the top bar.

The Preview as dropdown open in the top bar of the editor, listing a Logged out user option and several user email addresses.
The Preview as dropdown lists the users in your database, along with a logged-out user.
2

Select a user

Select the user you want to preview as. The preview reloads, and your app now runs as if that user were logged in.

3

Switch between users

To compare how your app works for different users, select another user from the dropdown. You can switch as often as you need while you test.

Previewing as a user follows that user's permissions, including your privacy rules. That makes it a quick way to check that each user only sees the data they're supposed to, such as making sure a regular user can't see another user's posts.

Full preview

The Bubble editor with the Design tab open and the new tab icon, with its dropdown arrow, highlighted in the top-right corner.
The new tab icon in the top-right corner opens your app in a new browser tab.

To open a full preview, click the new tab icon in the top-right corner of the editor. This opens a new browser tab showing your app's development version. It loads the full development version, including:

  • All custom HTML

  • All installed plugins

  • All workflows and elements

This is the standard way to test your app. The dropdown arrow next to the icon also offers debug mode and a few safe preview options, which can help when debugging or isolating potential issues.

Debug mode

This option opens your app with the debugger turned on, so you can step through your workflows and inspect your elements while the app runs.

Safe preview options

The safe preview options turn off custom code in your app, so you can find out whether that code is causing a problem.

Disable custom HTML

This option disables any custom HTML elements you've added through the HTML element or the page header.

Use this if you're experiencing rendering issues or suspect your custom code might be affecting the app.

Disable plugins

This option disables all plugins, allowing you to test your app without third-party code. Use this if you think a plugin is causing a problem in your app.

Disable HTML & plugins

This option disables both plugins and custom HTML. Use this if you're encountering persistent issues and want to isolate whether the problem is being caused by third-party code.

Opening debug mode and safe preview options

1

Open the dropdown

Click the downward arrow next to the new tab icon.

2

Choose an option

Choose the option you want to use:

  • Debug mode

  • Disable custom HTML

  • Disable plugins

  • Disable HTML & plugins

Each option opens your app in a new browser tab.

Note on preview URLs

All of these options load your app in the development version. The URL will include version-test, like so:

This version is separate from your live app and only reflects the latest changes in your editor.

Last updated

Was this helpful?