Install

Preview

Preview your application

Check what the agent built in the workspace's built-in browser.

Built-in preview with a device toolbar and dev server logs

Start the workspace dev server

Set the dev server command in the repository settings. Start it from Preview to load the local application.

Inspect the page and read server logs

Use inspect mode and DevTools to check the page. Open the log panel to read the dev server output.

Preview logs showing output from the development server

Check a different viewport

Use device emulation to check the layout at a phone size before you open a pull request.

Preview toolbar with desktop and phone controls

Questions about preview

How does Preview find my application?

The dev server prints its local URL. BetterCoding reads that URL and loads it in the preview browser.

Can I open the preview in my own browser?

Yes. Use Open in Browser from the preview toolbar.