Xuda Studio UI Live Preview And Console User Guide
Xuda Studio UI Live Preview And Console User Guide
This guide explains how to use UI Live Preview and the bottom Console in Xuda Studio.
It is written for non-technical users. It focuses on what the live preview and console help you do, what results to expect, and how to attach the console to a preview session.
The screenshots are dark, full-screen captures from https://dev.xuda.ai/studio.
Feature Tips Map

Use this visual as a quick reminder that most Xuda features work best when you connect the workspace, the data, the screen, and the next action instead of treating each area as separate.
Screenshot Gallery
Use this section to confirm that the screenshots are loading in your Markdown preview.
| Screen | Screenshot |
|---|---|
| Before live preview | ![]() |
| Live preview on | ![]() |
| Session selector | ![]() |
| Console with no preview selected | ![]() |
| Session attached | ![]() |
| Console attached to session | ![]() |
| Screenshot captured | ![]() |
| Session captured | ![]() |
| Inspect mode | ![]() |
| Command input | ![]() |
What Live Preview Does

The normal UI canvas is for building and arranging the component.
Live Preview runs the component inside the canvas as a real preview session.
Result: you can see the component closer to the way it will behave for a user, not only as an editable design surface.
Turn On Live Preview

Use the play button in the UI preview toolbar to turn on live preview.
When live preview starts, the preview area changes into a running version of the component. The bottom console also shows that a session is available.
Result: Studio creates a live preview session that the console can attach to and control.
The Bottom Console

The console at the bottom of the screen is connected to live preview sessions.
When live preview is off, the console may show 0 Session.
When live preview is on, the console shows how many preview sessions are available. In the screenshot, Studio shows 1 Session.
Result: you know whether there is a live preview available for the console to connect to.
Attach To A Live Preview Session

Open the session selector at the bottom of the screen.
Select the preview session you want to work with.
The session may be marked Internal when it comes from the live preview inside Studio.
Result: the console knows which running preview it should control.
Console Before Selecting A Preview

If you open the console before selecting a preview session, Studio asks you to select one.
Result: the console is open, but it is not controlling anything yet.
Console After Attaching

After you select a session, the bottom selector shows the preview name.
Result: the console is now attached to that live preview session.
Attached Console Panel

When the console is attached and expanded, it shows information from the running preview.
The console can show startup messages, warnings, errors, screenshots, session details, and other results from the live preview.
Result: you can see what the live preview is doing and spot issues while testing the component.
Console Controls

The control icons in the console let you manage the attached live preview.
| Control | What It Helps You Do | Result |
|---|---|---|
| Get Session | Capture details about the running preview session. | Studio records information about the preview environment. |
| Capture Screenshot | Take a screenshot from the live preview. | A screenshot result appears in the console log. |
| View Screen | View the live preview screen directly when the session supports it. | You can inspect what the session is showing. |
| Inspect Element | Click a live preview element and connect it back to Studio. | Studio can help you find the related UI element. |
| Hard Reload | Force the live preview to reload. | The preview restarts with the latest available state. |
| Clear Logs | Remove current console messages. | The console becomes easier to read during a new test. |
| Hide Console | Close the expanded console panel. | More screen space returns to the UI editor. |
Capture A Screenshot

Use Capture Screenshot when you want a record of what the live preview is showing.
The screenshot result appears in the console log with a small preview.
Result: you can confirm what the live preview looked like at that moment.
Capture Session Details

Use Get Session when you need more information about the preview session.
This can help identify the browser, screen size, language, timezone, and other session details.
Result: support or builders can understand the environment where the preview is running.
Inspect Mode

Use Inspect Element when you want to connect something in the running preview back to the Studio UI structure.
After inspect mode is turned on, click an element in the live preview.
Result: Studio can help locate the related UI element so you can edit the right part.
Command Input

The command input sends a command to the attached live preview session.
Use this when a builder or support person asks you to run a quick check against the running preview.
Result: the command is sent to the live preview, and the response can appear in the console.
Recommended Workflow
- Open a component.
- Go to the UI tab.
- Turn on Live Preview with the play button.
- Wait until the bottom console shows at least one session.
- Open the session selector.
- Select the preview session.
- Expand the console.
- Use the console controls to capture, inspect, reload, or review logs.
- Hide the console when you want more editing space.
Practical Tips
Use live preview when you want to test behavior, not just layout.
Attach the console before trying to capture screenshots or inspect elements.
Use Capture Screenshot before and after a change when comparing results.
Use Hard Reload when the live preview seems stale.
Use Clear Logs before testing a new action so the next result is easier to find.
Use Inspect Element when you can see a problem in the preview but are not sure which UI element controls it.
Extra Feature Tips
- Turn on Live Preview before expecting console sessions to appear.
- Select the active session before using screenshot, inspect, reload, or command controls.
- Capture screenshots before and after a visual change when you need a clean comparison.
- Clear logs before testing one action so the console shows the result you care about.
- Use Hard Reload when preview output seems stale after a meaningful UI or workflow change.