Skip to content

Instantly share code, notes, and snippets.

@jvinhit
Created March 10, 2021 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvinhit/9161ac7776537ca70b105cdc4044821f to your computer and use it in GitHub Desktop.
Save jvinhit/9161ac7776537ca70b105cdc4044821f to your computer and use it in GitHub Desktop.
platformBrowserDynamic()
  .bootstrapModule(LoyaltyModule)
  .then(module => enableDebugTools(module.injector.get(ApplicationRef).components[0]))
  .catch(err => console.error(err));

then we run below command in chrome dev tools:

ng.profiler.timeChangeDetection()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment