Skip to main content

Debugging

Chrome

  • inspect element
  • select your component and it will be assigned to $0
  • run
ng.probe($0).componentInstance
  • change values as you desire or call object class members
  • to trigger the changes run
ng.probe($0)._debugInfo._view.changeDetectorRef.detectChanges()