ng.probe() in console; Uncaught ReferenceError: ng is not defined

Discussão em 'Angular' iniciado por BBaysinger, Março 17, 2025.

  1. BBaysinger

    BBaysinger Guest

    I'm using Angular 11 via ng serve in Chrome. In the debug console, I write ng.probe($0) to debug and get:


    Uncaught ReferenceError: ng is not defined
    ​

    Augury is installed. Dunno if that could be related. It's my first time trying to use ng in the console. I'm guessing it's something I need to set up, or maybe a legacy feature.

    UPDATE: It's probably a breakpoint that I threw in there arbitrarily and don't remember exactly where it was. I didn't think so, but I didn't make any other changes, so... ¯\_(ツ)_/¯ Sorry.

    Continue reading...

Compartilhe esta Página