debugSnapshot()
pixi-reels / index / debugSnapshot
Function: debugSnapshot()
function debugSnapshot(reelSet: ReelSet): DebugSnapshot;
Defined in: debug/debug.ts:47
Take a plain-JSON snapshot of the entire reel set state.
This is the primary debugging tool for AI agents. The output is a serializable object with no circular references, no PixiJS types.
const state = debugSnapshot(reelSet);
console.log(JSON.stringify(state, null, 2));
Parameters
| Parameter | Type |
|---|---|
reelSet | ReelSet |