QubizSDK.debug
Debug Overlay and Console
Open a lightweight in-game developer console, configure the hotkey, and forward debug logs to the host.
Configurable hotkey
The SDK debug overlay is local to the game frame. By default, Ctrl+` toggles it. Games can switch to a single key or a different modifier combination.
- debug.log, debug.info, debug.warn, and debug.error append lines to the overlay.
- The host bridge can also receive debugLog events when debug:console is granted.
- Use the overlay for creator diagnostics, not player-facing UI.
QubizSDK.debug.setHotkey({ key: "F10" });
QubizSDK.debug.show();
await QubizSDK.debug.info("Spawner ready", {
enemies: 12,
biome: "factory"
});