rangle / angular-devtools

Moved to the Angular organization.
https://github.com/angular/angular/tree/master/devtools
255 stars 18 forks source link

We detected an application built with production configuration. Angular DevTools only supports development builds. #820

Closed mbasij1 closed 3 years ago

mbasij1 commented 3 years ago

unfortunately, I have a bug that my *ngFor does not work in a special module of the project! I tried to debug the angular and install angular Devtools and run it with ng s but angular Devtools says
"We detected an application built with production configuration. Angular DevTools only supports development builds." what should I do?

conradkirschner commented 3 years ago

It feels also a bit strange, that it's only possible to debug a angular application when it is in non production configuration.

mbasij1 commented 3 years ago

thank you. I forget to change the environment

export const environment = {
  production: false
};