docs/browser-testing.mdx
The built-in preview browser lets you test your application, inspect components, and open full devtools — all without leaving the workspace.
If no dev server script is configured, the preview panel shows a setup prompt. Click Edit Dev Server Script to open the script dialog.
<Frame> </Frame>Enter the command that starts your dev server (e.g. npm run dev, pnpm dev, yarn dev) and click Save and Test to verify it works.
Once you've saved a script, click Start dev server in the preview panel to launch it.
<Frame> </Frame>Logs stream in real-time in the Log panel (highlighted in red) on the right side of the workspace. Look for the URL output (e.g. http://localhost:3000) — Vibe Kanban detects this automatically and loads it in the preview.
Once the dev server starts, your application loads in the built-in browser. Here's an overview of the preview toolbar and what each control does.
<Frame> </Frame>You can test your application across different viewport sizes without resizing your browser window. The device mode buttons in the toolbar let you switch instantly.
| Mode | What it does |
|---|---|
| Desktop | Full-width browser view |
| Mobile | Phone frame at 390×844, with device chrome |
| Responsive | Drag the edges to set a custom width and height |
Mobile mode wraps your application in a phone frame so you can see exactly how it looks on a mobile device.
<Frame> </Frame>Responsive mode lets you drag the edges of the preview to test any custom width and height.
<Frame> </Frame>The preview browser includes a built-in click-to-component feature. Click Select element as context in the toolbar to enter inspect mode, hover over any element to highlight it, then click to select.
<Frame> </Frame>When you click a component, inspect mode exits and the component's details are sent to the chat as context — you can then ask your coding agent questions about that specific component. This works automatically with React, Vue, Svelte, Astro, and plain HTML — no packages to install.
Click the terminal icon in the toolbar to toggle the built-in devtools panel. The devtools open at the bottom of the preview and give you a full debugging console without leaving the workspace.
<Frame> </Frame>The devtools give you access to: