getDebugInfo() — react Function Reference
Architecture documentation for the getDebugInfo() function in debugInfo.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD eb293159_a9b3_09a4_1c57_0952f29b736b["getDebugInfo()"] 46a94f52_c44a_45bb_dd31_eb8109978851["debugInfo.js"] eb293159_a9b3_09a4_1c57_0952f29b736b -->|defined in| 46a94f52_c44a_45bb_dd31_eb8109978851 4bfbffb0_89fc_0242_664a_966e634a6a47["normalizeDebugInfo()"] eb293159_a9b3_09a4_1c57_0952f29b736b -->|calls| 4bfbffb0_89fc_0242_664a_966e634a6a47 style eb293159_a9b3_09a4_1c57_0952f29b736b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/internal-test-utils/debugInfo.js lines 121–139
export function getDebugInfo(config: DebugInfoConfig, obj) {
const debugInfo = obj._debugInfo;
if (debugInfo) {
const copy = [];
for (let i = 0; i < debugInfo.length; i++) {
if (
debugInfo[i].awaited &&
debugInfo[i].awaited.name === 'rsc stream' &&
config.ignoreRscStreamInfo
) {
// Ignore RSC stream I/O info.
} else {
copy.push(normalizeDebugInfo(config, debugInfo[i]));
}
}
return copy;
}
return debugInfo;
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does getDebugInfo() do?
getDebugInfo() is a function in the react codebase, defined in packages/internal-test-utils/debugInfo.js.
Where is getDebugInfo() defined?
getDebugInfo() is defined in packages/internal-test-utils/debugInfo.js at line 121.
What does getDebugInfo() call?
getDebugInfo() calls 1 function(s): normalizeDebugInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free