Friday, September 29, 2017

Augury doesn’t work when angular’s mode is dev

I want to use Augury to debug my angular project, and I have used isDevMode to make sure that the mode is dev, but it doesn’t work. The Augury hint that ‘javascriptThis application is running in production mode and therefore cannot be inspected using Augury.
If this is an Angular application, please rebuild your application in debug mode or remove the call to enableProdMode().

By the way, The project isn’t created by angular cli, and Augury can work well with the project created by angular cli in my browser.
What was wrong ?

Source: AngularJS



from Angular Questions https://angularquestions.com/2017/09/29/augury-doesnt-work-when-angulars-mode-is-dev/
via @lzomedia #developer #freelance #web

No comments:

Post a Comment