You may be missing a development configuration for your application.

In your angular.json navigate to architect -> build -> configurations and add these lines, below the definition of the production build:

"configurations": {
  "production": {
    // already there!
  },
  "development": { // this is new!
    "buildOptimizer": false,
    "optimization": false,
    "vendorChunk": true,
    "extractLicenses": false,
    "sourceMap": true,
    "namedChunks": true
  }
},
"defaultConfiguration": "production"

And to run the build in development mode just type the next command: ng build --configuration development.

Answer from Tonnio on Stack Overflow
🌐
Angular
angular.dev › tools › devtools
DevTools • Overview • Angular
Angular DevTools only supports development builds.", this means that an Angular application was found on the page, but it was compiled with production optimizations. When compiling for production, Angular CLI removes various debug features to ...
🌐
GitHub
github.com › angular › angular › issues › 56399
We detected an application built with production configuration. Angular DevTools only supports development build. · Issue #56399 · angular/angular
June 12, 2024 - The development config of the project.json set optimization to false: "configurations": { "production": { "optimization": { "fonts": true, "styles": true, "scripts": true }, "development": { "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true } }, Angular DevTools should see that this is a dev environment and work.
Author   angular
🌐
Angular
v19.angular.dev › tools › devtools
DevTools • Angular
Angular DevTools only supports development builds.", this means that an Angular application was found on the page, but it was compiled with production optimizations. When compiling for production, Angular CLI removes various debug features to ...
🌐
Rock Your Code
rockyourcode.com › til-angular-configuration-detected-running-in-production-mode
TIL: Angular Configuration Detected Running in Production Mode | rockyourcode
December 7, 2021 - When I open the Angular DevTools I get the error: We detected an application built with production configuration. Angular DevTools only supports development builds. The Solution You’ll need an extra configuration for the development build ...
🌐
GitHub
github.com › rangle › angular-devtools › issues › 838
Angular DevTools only supports development builds. · Issue #838 · rangle/angular-devtools
June 1, 2021 - Angular DevTools version (required): Angular version (required): Link to a minimal stackblitz reproduction (strongly encouraged): Description of issue: Include (clipped) screenshot images if possib...
Author   rangle
🌐
Stack Overflow
stackoverflow.com › questions › 71600521 › extension-error-on-angular-chrome-devtools-angular-devtools-only-supports-devel
angular13 - extension error on Angular-Chrome DevTools "Angular DevTools only supports development builds - Stack Overflow
16 Angular Chrome Dev Tools extension error: "Angular DevTools only supports development builds." 1 chrome.devtools.* support across versions · 3 Unable to use Chrome Experimental Devtools API · 0 Chrome Extension using DevTools · 17 Error in Chrome DevTools ·
🌐
Extpose
extpose.com › ext › ienfalfjdbdpebioblfackkekamfmbnh
Angular DevTools - ienfalfjdbdpebioblfackkekamfmbnh - Extpose
A good extension if you are a fan of seeing "We detected an application built with production configuration. Angular DevTools only supports development build" no matter the mode you are running in
Rating: 3.7 ​ - ​ 190 votes
Find elsewhere
🌐
GitHub
github.com › angular › angular › issues › 54534
"Angular Devtools only supports Angular versions 12 or above" on new Angular 17 SSR application · Issue #54534 · angular/angular
February 20, 2024 - "Angular Devtools only supports Angular versions 12 or above" on new Angular 17 SSR application#54534
Author   angular
🌐
GitHub
github.com › rangle › angular-devtools › issues › 916
Angular always detected running in production mode · Issue #916 · rangle/angular-devtools
September 3, 2021 - It is now read-only. ... Hi this issue is similar to #868. ... "options": { ... "vendorChunk": true, "extractLicenses": false, "buildOptimizer": false, "sourceMap": true, "optimization": false, "namedChunks": true, "webWorkerTsConfig": "tsconfig.worker.json" }
Author   rangle
🌐
Angular
v17.angular.io › guide › devtools
Angular - DevTools Overview
Angular DevTools is a browser extension that provides debugging and profiling capabilities for Angular applications. Angular DevTools supports Angular v12 and later when compiled with the optimization configuration option disabled ({optimization:false}).
🌐
Beyondjava
beyondjava.net › angular12-development-build
Development Build and Angular 12
July 4, 2021 - Beyond Java · Sitemap · Talks & Articles · Projects · Guest Posts · About · Legalese · Statistics · (opt out) · Mastodon
🌐
GitHub
github.com › TanStack › query › issues › 8018
Angular query devtools are included in production builds · Issue #8018 · TanStack/query
September 4, 2024 - By default, React Query Devtools are only included in bundles when process.env.NODE_ENV === 'development', so you don't need to worry about excluding them during a production build. https://tanstack.com/query/v5/docs/framework/react/devtools · I would expect the behavior to be consistent across all adapters. https://stackblitz.com/edit/tanstack-query-p6s1ru?file=package.json · Try to serve with production config and you'll see the dev tools still appears · Dev tools should only be included in builds with process...
Author   TanStack
🌐
DEV Community
dev.to › alisaduncan › debugging-and-inspecting-angular-apps-using-angular-devtools-1e05
Debugging and inspecting Angular apps using Angular DevTools - DEV Community
May 18, 2021 - Angular DevTools displays a warning if you try to use it on a version of Angular that doesn't support Ivy. Oh and one more caveat. Angular DevTools only works on non-production code, so trying to be nosy about how prod apps won't work.
🌐
Peaku
peaku.co › questions › 15568-error-de-extension-de-angular-chrome-dev-tools:-&quot
Angular Chrome Dev Tools extension error: "Angular DevTools only supports development builds." - PeakU
In your angular.json navigate to architect -> build -> configurations and add these lines, below the definition of the production build: "configurations": { "production": { // already there! }, "development": { // this is new! "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true } }, "defaultConfiguration": "production" And to run the build in development mode just type the next command: ng build --configuration development.