vConsole
On a real device, if you want to view the log content output by the console API and additional debugging information, you need to tap the button in the top-right corner of the screen and select "Open Debugging" from the menu. At this point the minigame will exit; after reopening it, a vConsole button will appear in the bottom-right corner. Tap the vConsole button to open the log panel.
Enabling Debugging
There are two common ways to enable the vConsole debug panel on a real device:
Method 1: Enable via the HelloPink Client Menu
- Open the minigame you want to debug on a real device.
- Tap the menu button in the top-right corner (
...). - Find and tap the "Development Debugging" button in the pop-up menu bar.
- Tap "Open Debugging". The minigame will then restart automatically, and a green
vConsolebutton will appear in the bottom-right corner of the interface.
Method 2: Enable via the Code API
Developers can dynamically control the opening and closing of the debug panel while running on a real device by calling the minigame API:
javascript
// Enable the debug panel
sud.setEnableDebug({
enableDebug: true
})