enableDebugTools
function
stable
Enabled Angular debug tools that are accessible via your browser's developer console.
enableDebugTools
ComponentRef<T>Enabled Angular debug tools that are accessible via your browser's developer console.
Usage:
- Open developer console (e.g. in Chrome Ctrl + Shift + j)
- Type
ng.(usually the console will show auto-complete suggestion) - Try the change detection profiler
ng.profiler.timeChangeDetection()then hit Enter.
@returns
ComponentRef<T>Description
Enabled Angular debug tools that are accessible via your browser's developer console.
Usage:
- Open developer console (e.g. in Chrome Ctrl + Shift + j)
- Type
ng.(usually the console will show auto-complete suggestion) - Try the change detection profiler
ng.profiler.timeChangeDetection()then hit Enter.
Jump to details