MCPcopy Create free account
hub / github.com/cosscom/coss / useDebug

Function useDebug

apps/examples/calcom/components/debug-context.tsx:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41export function useDebug(): DebugContextValue {
42 const context = useContext(DebugContext);
43 if (!context) {
44 throw new Error("useDebug must be used within a DebugProvider");
45 }
46 return context;
47}

Callers 2

DebugPopoverFunction · 0.90
useLoadingStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected