> ## Documentation Index
> Fetch the complete documentation index at: https://a5eb32f-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://a5eb32f-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://a5eb32f-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://a5eb32f-docs-2.manicule.dev/.well-known/llms-manifest.json

# Test Your App in Live Preview (/studio/live-preview)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 699 · updated: 2026-11-25 -->
Related: [Work in Cloud Studio](/studio/overview.md), [Prompt Bhai and Review Changes](/studio/ai-chat.md), [Edit Project Files in Studio](/studio/code-editor.md), [Restore Changes and Push a Project](/studio/version-control.md)

> Check the running app at phone, tablet, and desktop widths and diagnose failures from the console.

Live Web Preview runs your Studio app as you build it. Use it to check behavior after a code change, test different widths, or reproduce a runtime error. The widths change the layout space inside the preview; they don’t replace testing on a physical device.

## Check a change in the running app

Studio compiles the preview in your browser with WebAssembly through WebContainer. Preview hot-reloads as project files change, so you can test many edits without opening another tab or manually refreshing. Some updates can retain form input, the selected tab, or the current client route. If state matters to the test, check what stayed intact and run the same interaction from a fresh load.

Use **Refresh** in the hotbar when you need that fresh load. If the Studio panels make it hard to judge the app at its available width, use the pop-out control to open the running app in a standalone browser tab.

## Test the layout at three widths

Select a viewport in the hotbar. Check the same screen at each size so you can compare what actually changes.

| Viewport | Width  | What to check                                                                                              |
| -------- | ------ | ---------------------------------------------------------------------------------------------------------- |
| Mobile   | 375 px | On a phone-sized screen, check that navigation, buttons, and form fields fit without horizontal scrolling. |
| Tablet   | 768 px | Check where columns or cards wrap. Look for controls that disappear or run into nearby content.            |
| Desktop  | Fluid  | Check the layout at the available width. Use the pop-out tab if you need more room.                        |

Don’t stop at the initial screen. Open a menu, switch tabs, or type into a form at each relevant width. If a control fits when it’s closed but overflows when it opens, you’ll only see that by trying it.

## Follow a runtime error to its source

<Steps>
<Step title="Reproduce the issue">Reload the preview if necessary, then repeat the action that fails. Note the route, input, and viewport if they affect the result.</Step>

<Step title="Read the console">Open the bottom drawer and look for `console.log` output, runtime warnings, and exceptions. Find the error that matches the interaction before you pick a fix.</Step>

<Step title="Test the fix">If the error offers **Auto-Fix with Bhai**, use it to ask for a diagnosis and fix. Review the resulting edits and rerun the interaction in Preview before keeping the change.</Step>
</Steps>

## Next

* [Edit the file behind a preview error](/studio/code-editor).
* [Give Bhai a focused prompt and review its diff](/studio/ai-chat).
