SФ
#debug
https://medium.com/front-end-hacking/a-guide-to-debugging-angular-applications-5a36bd88b4cf
Size: a a a
SФ
🌀
🌀
G
const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule).then((module: NgModuleRef<AppModule>) => {
if (isProduction) {
return;
}
// Profiler for application
// ng.profiler.timeChangeDetection()
const applicationRef = module.injector.get(ApplicationRef);
const appComponent = applicationRef.components[0];
enableDebugTools(appComponent);
});
🌀
const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule).then((module: NgModuleRef<AppModule>) => {
if (isProduction) {
return;
}
// Profiler for application
// ng.profiler.timeChangeDetection()
const applicationRef = module.injector.get(ApplicationRef);
const appComponent = applicationRef.components[0];
enableDebugTools(appComponent);
});
IZ
MS
IZ
SФ
DO
DO
MM
MM
SФ
🌀
SФ
АО
АО
DK