MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / debugLog

Function debugLog

front_end/models/ai_code_completion/debug.ts:13–20  ·  view source on GitHub ↗
(...log: unknown[])

Source from the content-addressed store, hash-verified

11}
12
13export function debugLog(...log: unknown[]): void {
14 if (!isDebugMode()) {
15 return;
16 }
17
18 // eslint-disable-next-line no-console
19 console.log(...log);
20}
21
22function setDebugAiCodeCompletionEnabled(enabled: boolean): void {
23 if (enabled) {

Callers 3

completeCodeMethod · 0.70

Calls 2

isDebugModeFunction · 0.70
logMethod · 0.65

Tested by

no test coverage detected