MCPcopy
hub / github.com/angular/angular / enableDebugTools

Function enableDebugTools

packages/platform-browser/src/browser/tools/tools.ts:30–33  ·  view source on GitHub ↗
(ref: ComponentRef<T>)

Source from the content-addressed store, hash-verified

28 * @publicApi
29 */
30export function enableDebugTools<T>(ref: ComponentRef<T>): ComponentRef<T> {
31 exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));
32 return ref;
33}
34
35/**
36 * Disables Angular tools.

Callers 1

tools_spec.tsFile · 0.85

Calls 1

exportNgVarFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…