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

Comments

Popular posts from this blog

ng-show doesn’t work correct with value boolean

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-include of inline SVG does not display gradient except in Chrome