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
This 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().
The project isn't created by angular cli, and Augury can work well with the project created by angular cli in my browser. What is going wrong?
I have solved the problem by setting the debug flag to true in tsconfig.json, see in https://github.com/rangle/augury
"angularCompilerOptions": {
"debug": true
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With