Debug MD

The on-device debug panel for Unity: cheats and options, a console and a lightweight profiler in one overlay. One line of code per cheat.

Get started API reference

Screenshot pending - the panel open on a phone: Options tab with toggles, number controls and a picker row
The panel on device. The same UI docks into an editor window.

Up and running

No scene setup, no prefabs, no manager objects. Import, register, play - the panel bootstraps itself.

  1. Import the package. Debug MD lands in Assets/DebugMD/. There is nothing to drag into a scene and nothing to configure - defaults apply until you decide otherwise.
  2. Register an option anywhere in your code.
    DMD.Options.AddButton("Give 1,000 Gold", () => Wallet.Add(1000));
    
    DMD.Options.AddToggle("God Mode", () => _god, v => _god = v);
    DMD is global - no using directive needed, and every call is a safe no-op in builds where Debug MD is stripped out.
  3. Open the panel. Triple-tap or hold the top-left corner on device, press F1 on desktop, or open Window › Debug MD › Panel to use the same panel as a dockable editor window. Your options are already there.

What do you want to do?

Each card is a common task, covered end to end on its page.

Add your first cheat

From import to a working god-mode toggle, on device and in the editor, in a few minutes.

Toggles, numbers & buttons

Every option type: bools, numbers with ranges, text, enums, actions with hotkeys, live read-only info.

Pick one of 10,000 things

Give any collection - items, maps, live-ops events - a searchable, virtualized picker with icons.

Keep it organized

Tabs, categories, side-by-side rows, ordering, icons - a panel that stays usable as it grows.

Pin values to the screen

Float any option outside the panel as a mini widget - watch an FPS counter or flip a cheat mid-run.

Options that come and go

Scope option sets to a scene or event, tie them to an owner, and let cleanup happen by itself.

Open the panel your way

Touch gestures, keyboard shortcut, or code. Add a PIN gate, tune settings, override per device.

Make it yours

Five bundled themes plus your own: restyle everything with one USS file, no prefabs to touch.

Console & profiler

Logs captured from before the first scene loads, filters and search, plus frame time and memory at a glance.

Cheats for the editor itself

Register editor-only utilities that appear in the Debug MD window outside play mode.

Ship without your cheats

One toggle removes all of Debug MD from release builds - your DMD calls compile and no-op.

Coming from SRDebugger

Convert an SROptions class one line at a time - the attribute-by-attribute mapping, with both panels running side by side.

Full API reference

Every public type and member, with signatures, defaults and behavior notes, on one page.

How Debug MD behaves

Three properties hold everywhere, so you never have to design around the tool:

  • Zero setup, zero residue. The panel creates itself on startup and strips completely out of release builds. Registration calls stay in your code, compiled but inert.
  • IL2CPP-safe by construction. Options bind through the delegates you pass in - no reflection to survive managed stripping, no surprises at High stripping level.
  • Live by default. Widgets poll your getters while visible and update when values change elsewhere; options can be added and removed at any time and the panel follows without a rebuild.