Run locally
PinK provides three ways to run projects: an internal browser, a remote preview of HelloPink and a preview of the editor. Select the corresponding mode according to the debug phase and the target environment and then run the current scene.
Select how to run
Opens the run mode menu in the top toolbar to switch the run mode. This page presents two local ways of running. For a remote preview of HelloPink, see Real debugging..
| Interface Options | Run Mode | Apply scene |
|---|---|---|
| Browser | Internal Browser | Quick check pages and interactions in PinK. |
| Preview In Editor | Editor Preview | Runs the current scene in the editor and debugs quickly. |
Use built-in browser
The built-in browser starts the local preview service and opens the current item in PinK. Fits to quickly check page loading and scene interaction.
- Opens the run method menu in the top toolbar.
- Select "Browser".
- Select the running button to wait for PinK to start the local preview service.
- Checks running effects in a simple browser.
- Click on the right icon of the preview address to jump to the external browser preview.
Attention.: A simple browser displays local preview addresses such as http://localhost:9527/. The port is displayed on the actual interface.
Preview in Editor
The editor preview will run the current scene directly in the PinK edit area without opening the independent browser. Fits to view changes quickly during editing.
- Opens the run method menu and selects " Preview In Editor " .
- Select the target scene.
- Select the running button to start the current scene.
- Use the pause or stop button in the toolbar to control the running status.