SugarCube Game Engine Debugger

Advanced SugarCube debug panel with UI, configuration, and real-time variable inspection

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Nier automata
일일 설치 수
1
총 설치 수
2
평점
0 0 0
버전
1.0.5
생성일
2026-05-31
갱신일
2026-05-31
크기
134KB
라이선스
GPL-3.0-or-later
적용 사이트

SugarCube Game Engine Debugger

Advanced SugarCube debug panel with UI, configuration, and real-time variable inspection.

What This Script Does

  • Adds an in-game debugger overlay for SugarCube HTML games.
  • Lets you inspect passage metadata, branch conditions, macro usage, and links.
  • Includes a variable editor with deep path support (arrays/objects) and pinned variables.
  • Adds optional history navigation controls (with force override mode).
  • Includes links explorer filters and macro details on demand.

Basic Usage

  • Toggle debugger: Ctrl + D
  • Close debugger: Esc
  • Move draggable toggle button anywhere on screen.

Important Setup For Local HTML Files

Because this script uses:

  • @match file:///*.html
  • @match file:///*.htm

You must enable your userscript extension permission to run on local files.

Tampermonkey / Violentmonkey / Similar

  1. Open your browser extension page.
  2. Find your userscript extension.
  3. Enable Allow access to file URLs (wording may vary by browser).
  4. Reload your local game HTML.

If you skip this, the script will not run on local SugarCube games.

Running On Online SugarCube Games

If you want this script to run on web-hosted SugarCube games, edit the userscript header @match lines.

Example:

// @match        https://example.com/*
// @match        https://your-sugarcube-site.net/*

Then save the script and reload that site.

Note: keep matches specific when possible for safety.

Notes

  • Debug logging can be disabled from Settings (Debug Logging (Console)).
  • Some history behavior depends on game configuration; debugger includes force-history options.
  • Use responsibly when testing games and story branches.