syncDebug
syncDebug(
event,data?):void
Defined in: packages/client/src/debug.ts:38
Log one timestamped event. Prints to the console only when globalThis.__pgxsinkitDebug is on, but ALSO
feeds any installed setSyncDebugSink sink (so the worker can forward the rail to tabs even when the
worker’s own console gate is off). No sink AND not enabled → an early return, so the off-path pays nothing.
Parameters
Section titled “Parameters”string
Record<string, unknown>
Returns
Section titled “Returns”void