Skip to content

DebugAsk beta ​

Interface of @v12-engine/engine

ts
export interface DebugAsk

What the debug tools of a screen ask of a world elsewhere (SessionDebug), as said over the wire or to a worker

Members ​

clearLog ​

ts
clearLog?: true;

Asks the world to clear its kept log lines

inspect ​

ts
inspect?: InspectTarget | null;

The entity or object to inspect, or null to stop inspecting

listing ​

ts
listing?: boolean;

Whether to send the list of inspectable things

logging ​

ts
logging?: boolean;

Whether to send the world's log lines

set ​

ts
set?: {
        path: (string | number)[];
        value: number | boolean;
    };

A value to change in the inspected object: the path to it and the new number or boolean