Error in console: ng.probe is not a function
If someone is looking for an alternative to:
ng.probe($0)
In Ivy, then please try this:
ng.getComponent($0);
Found it here, https://juristr.com/blog/2019/09/debugging-angular-ivy-console/
Thought I'd add this here for completion.
Note about ng.getComponent
: you must focus the component tag ( e.g. <app-my-component>
) in the developer tools elements so that it will be in $0. It doesn't search up the hierarchy for parent components ( like ng.probe
does ).
If you're using Augury extension, disable or remove it. then, check the console. I've had the same issue and I removed the Augury.
Augury is having different set of debugging APIs, that's why that error occur.