Title: ng serve with @angular/build: DevTools file search not working · Issue #33510 · angular/angular-cli · GitHub
Open Graph Title: ng serve with @angular/build: DevTools file search not working · Issue #33510 · angular/angular-cli
X Title: ng serve with @angular/build: DevTools file search not working · Issue #33510 · angular/angular-cli
Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was angular19 with @angular-devkit/build-angular Description When I try to migrate an Angu...
Open Graph Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was angular19 with @angular-devkit/build-angular D...
X Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was angular19 with @angular-devkit/build-angular D...
Opengraph URL: https://github.com/angular/angular-cli/issues/33510
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng serve with @angular/build: DevTools file search not working","articleBody":"### Command\n\nserve\n\n### Is this a regression?\n\n- [x] Yes, this behavior used to work in the previous version\n\n### The previous version in which this bug was not present was\n\nangular19 with @angular-devkit/build-angular\n\n### Description\n\nWhen I try to migrate an Angular 20 project from @angular-devkit/build-angular to the new @angular/build, I notice that when running `ng serve` and opening the browser DevTools → Sources, searching for content across all files does not return any results.\n\n### Minimal Reproduction\n\nAngular versions: 20, 21, and 22 (out of the box)\nBrowser: Edge and Chrome\nOperating System: Windows and Linux\nSSR: off\nZoneless: off\n\nSteps:\n1. Create a new Angular app with `ng new v20`.\n2. Run `ng serve`.\n3. Open the browser and go to DevTools → Sources.\n4. Try to search for content across all files.\n\n\u003cimg width=\"2554\" height=\"1074\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/38ef4877-06fb-4246-99ae-e8ac165d038a\" /\u003e\n\nSteps:\n1. Create a new Angular app with `ng new v22`.\n2. Run `ng serve`.\n3. Open the browser and go to DevTools → Sources.\n4. Try to search for content across all files.\n\n\u003cimg width=\"2562\" height=\"1036\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6e152f46-d520-4530-929b-b8424aaf7b2c\" /\u003e\n\n\n\n### Exception or Error\n\n```text\n\n```\n\n### Your Environment\n\n```text\nAngular CLI: 20.3.31\nNode: 22.14.0\nPackage Manager: npm 10.9.2\nOS: linux x64\n \n\nAngular: 20.3.25\n... common, compiler, compiler-cli, core, forms\n... platform-browser, router\n\nPackage Version\n------------------------------------\n@angular-devkit/architect 0.2003.31\n@angular-devkit/core 20.3.31\n@angular-devkit/schematics 20.3.31\n@angular/build 20.3.31\n@angular/cli 20.3.31\n@schematics/angular 20.3.31\nrxjs 7.8.2\ntypescript 5.9.3\nzone.js 0.15.1\n\n---------------------------------------\n\nAngular CLI : 22.0.5\nAngular : 22.0.5\nNode.js : 24.18.0\nPackage Manager : npm 11.16.0\nOperating System : linux x64\n\n┌───────────────────────────┬───────────────────┬───────────────────┐\n│ Package │ Installed Version │ Requested Version │\n├───────────────────────────┼───────────────────┼───────────────────┤\n│ @angular/build │ 22.0.5 │ ^22.0.5 │\n│ @angular/cli │ 22.0.5 │ ^22.0.5 │\n│ @angular/common │ 22.0.5 │ ^22.0.0 │\n│ @angular/compiler │ 22.0.5 │ ^22.0.0 │\n│ @angular/compiler-cli │ 22.0.5 │ ^22.0.0 │\n│ @angular/core │ 22.0.5 │ ^22.0.0 │\n│ @angular/forms │ 22.0.5 │ ^22.0.0 │\n│ @angular/platform-browser │ 22.0.5 │ ^22.0.0 │\n│ @angular/router │ 22.0.5 │ ^22.0.0 │\n│ rxjs │ 7.8.2 │ ~7.8.0 │\n│ typescript │ 6.0.3 │ ~6.0.2 │\n│ vitest │ 4.1.9 │ ^4.0.8 │\n└───────────────────────────┴───────────────────┴───────────────────┘\n```\n\n### Anything else relevant?\n\nAngula version: 19 (out of the box)\nBrowser: Edge and Chrome\nOperating System: Windows and Linux\nSSR: off\n\nSteps:\n1. Create a new Angular app with `ng new v19`.\n2. Run `ng serve`.\n3. Open the browser and go to DevTools → Sources.\n4. Try to search for content across all files.\n\nResult:\nThe search works correctly in Angular 19.\n\n\u003cimg width=\"2557\" height=\"1037\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/9d7c52c1-e361-4ff6-a6bc-ad9799b0b978\" /\u003e\n\nAngular CLI: 19.2.27\nNode: 22.14.0\nPackage Manager: npm 10.9.2\nOS: linux x64\n\nAngular: 19.2.25\n... common, compiler, compiler-cli, core, forms\n... platform-browser, platform-browser-dynamic, router\n\nPackage Version\n---------------------------------------------------------\n@angular-devkit/architect 0.1902.27\n@angular-devkit/build-angular 19.2.27\n@angular-devkit/core 19.2.27\n@angular-devkit/schematics 19.2.27\n@angular/cli 19.2.27\n@schematics/angular 19.2.27\nrxjs 7.8.2\ntypescript 5.7.3\nzone.js 0.15.1\n\n\n","author":{"url":"https://github.com/efernandezdev","@type":"Person","name":"efernandezdev"},"datePublished":"2026-07-04T23:36:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/33510/angular-cli/issues/33510"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2187d874-af11-6671-ad6e-4b10b4f0e019 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAC6:2017E4:17F9688:207BFF2:6A62EAAF |
| html-safe-nonce | 4677d3879a6ecc9163b742fce114c700faed6c4268a4b72bb583166b12020817 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUM2OjIwMTdFNDoxN0Y5Njg4OjIwN0JGRjI6NkE2MkVBQUYiLCJ2aXNpdG9yX2lkIjoiODc4Njg5ODA3ODgzMjcxNjQ2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 32f8749c98e510e4abcb1ec67bca54c013b535e3e52db13bf04f54988298a12a |
| hovercard-subject-tag | issue:4810908272 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/33510/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17b158eece2a45c871702e47f7d1dfd9461385dc7591e9c9783c2f186fe9ce09/angular/angular-cli/issues/33510 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17b158eece2a45c871702e47f7d1dfd9461385dc7591e9c9783c2f186fe9ce09/angular/angular-cli/issues/33510 |
| og:image:alt | Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was angular19 with @angular-devkit/build-angular D... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | efernandezdev |
| hostname | github.com |
| expected-hostname | github.com |
| None | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width