MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / sendDebugPayload

Function sendDebugPayload

app/src/modules/debug.js:48–56  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

46}
47
48export function sendDebugPayload(payload) {
49 try {
50 if (S.ws && S.ws.readyState === WebSocket.OPEN) {
51 S.ws.send(JSON.stringify({ type: 'debug_log', ...payload }));
52 return true;
53 }
54 } catch {}
55 return false;
56}
57
58export function flushPendingDebugLogs() {
59 if (!pendingDebugLogs.length) return;

Callers 2

flushPendingDebugLogsFunction · 0.70
debugLogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected