MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / debug

Method debug

app/mcp/logger.ts:40–44  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

38 }
39
40 debug(message: any) {
41 if (this.debugMode) {
42 this.print(colors.dim, message);
43 }
44 }
45
46 /**
47 * Format message to string, if message is object, convert to JSON string

Callers 5

finishFunction · 0.80
streamFunction · 0.80
streamWithThinkFunction · 0.80
checkMcpJsonFunction · 0.80
stabilityRequestCallFunction · 0.80

Calls 1

printMethod · 0.95

Tested by

no test coverage detected