MCPcopy
hub / github.com/tldraw/tldraw / debug

Method debug

packages/sync-core/src/lib/TLSyncClient.ts:446–451  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

444
445 private isDebugging = false
446 private debug(...args: any[]) {
447 if (this.isDebugging) {
448 // eslint-disable-next-line no-console
449 console.debug(...args)
450 }
451 }
452
453 private readonly presenceType: R['typeName'] | null
454

Callers 8

constructorMethod · 0.95
sendConnectMessageMethod · 0.95
resetConnectionMethod · 0.95
didReconnectMethod · 0.95
handleServerEventMethod · 0.95
closeMethod · 0.95
pushMethod · 0.95
applyNetworkDiffMethod · 0.95

Calls 1

debugMethod · 0.65

Tested by

no test coverage detected