Skip to content

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 ​

  1. Open the minigame you want to debug on a real device.
  2. Tap the menu button in the top-right corner (...).
  3. Find and tap the "Development Debugging" button in the pop-up menu bar.
  4. Tap "Open Debugging". The minigame will then restart automatically, and a green vConsole button 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
})