debugManifest stopped working today
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
macOS
What browser(s) / client(s) have you tested
- [ ] π₯ Internet Explorer
- [ ] π₯ Microsoft Edge
- [x] π₯ Google Chrome
- [ ] π₯ FireFox
- [x] π₯ Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version - 148*
- SPFx version - 1.21.1
- Node.js version - 22
Describe the bug / error
I was developing locally today, as I do every day, using the parameter in the URL "?debug=true&noredir=true&debugManifestsFile=https://localhost:4321/temp/build/manifests.js"
and suddenly it stopped working.
The authorization message for loading scripts doesn't appear,
there are no calls to localhost being made.
I tested it on different tenants, on different computers, it simply seems that the feature stopped working.
I read that a debug toolbar was implemented at the end of January, and I don't know if there have been any changes today regarding the parameters we use in the URL, but it definitely stopped working.
My manifest is loading correctly on localhost, my certificate is also okay, it simply stopped working starting at 6 PM today (Brazil time).
Does anyone have any information about this?
Steps to reproduce
- start application
- apply params on sharepoint url site
- nothing happens
Expected behavior
so that it would start working again as it always had, recognizing the application running locally.
Hello @lhdeveloper,
Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.
If you donβt receive a reply within two working days, please use this escalation form to escalate.
For me the issue is happening with fast-serve only and local host is not running. But with gulp serve, things are working fine.
@lhdeveloper, Thank you for reporting this issue. We were able to reproduce the problem on our end. Findings:
Local dev server and manifest serve correctly; workbench loads debug components as expected On modern pages, the debugManifestsFile parameter is not triggering the authorization dialog or loading debug components CSP header includes localhost:4321 but no actual requests to localhost are made We have raised an internal bug with the engineering team for further investigation. We will update this thread once we have more information from them.
For me the issue is happening with fast-serve only and local host is not running. But with gulp serve, things are working fine.
Yes, I was running Fast-Serve too, but I updated to version 1.22.1 and ran it with the new structure in Heft, and the same thing happened.
Let's wait for a response. Apparently something did happen. I also opened a ticket with MS for analysis.
I'm seeing this too, same configuration as the original poster.
Not running fast serve or any other add-on that isn't standard.
SPFx version: 1.21 spfx-fast-serve: 4.0.2 spfx-fast-serve-helpers: 1.21.1 Node: 18.20.8 Browser: Chrome (corporate environment) Tenant: SharePoint Online (Microsoft 365) Confirmed behavior: Same issue here. The webpack dev server (fast-serve) compiles successfully on every save (~1s rebuild, no errors), https://localhost:4321/temp/manifests.js is accessible and returns valid content, but SharePoint Online modern pages completely ignore the debugManifestsFile parameter β no requests to localhost are made at all, even with &bypassSW=true appended to the URL.
Tried:
Unregistering the odspserviceworkerproxy.aspx service worker Enabling "Bypass for network" in DevTools Using 127.0.0.1 instead of localhost Running gulp trust-dev-cert Disabling SWC compiler in fast-serve config None of the above resolved the issue. The workbench (/_layouts/workbench.aspx) still works as expected.
This started happening around early March 2026. Would appreciate any update on the fix timeline.
Hi guys, we are also experiencing this issue. It happens with both GULP and HEFT. I've tried running projects ranging from Node 10 to Node 22 with the latest SPFx framework, and the result is the same: we don't get the warning to load the manifest file, and the web part doesn't appear in the list.
I've noticed that the manifest file moved from /temp to /temp/build.
Currently, only the workbench is functioning.
Apparently the problem has been solved, everyone.
still not working for me
Unfortunately, things remain exactly the same here; it still doesn't work!
I work with macOS and yesterday I did a test on Windows. This screenshot I sent is from Windows; I simply added the parameter to the URL and opened a website, and the popup appeared. But it seems it still hasn't been resolved.
But, It was temporary, I just tested it again on Windows and it stopped working again.
I'm having problems on changing routes, in the previous version when i changed route the debug mode continue to work, in this new version this doesn't to be happening correctly.
Thanks for the quick confirmation and for raising the internal ticket, @Ashlesha-MSFT π
Iβve conducted further targeted tests that reveal a clear discrepancy between the Workbench and Modern Pages. I'm sharing the technical breakdown below in case it helps narrow down the root cause.
π Test Comparison
I used the exact same debug parameters for both scenarios:
?debugManifestsFile=https%3A%2F%2Flocalhost%3A4321%2Ftemp%2Fbuild%2Fmanifests.js&debug=true&noredir=true
π’ Hosted Workbench (Working as Expected)
- Behavior: The "Load debug scripts?" dialog appears immediately.
- Network: The bundle loads successfully from
localhost:4321. - Debugging: Breakpoints are hit normally in DevTools / VS Code.
π΄ Modern Pages (Parameters Ignored)
- Behavior: The
debugManifestsFileparameter appears to be ignored. - Observation: No "Load debug scripts?" dialog appears.
- Network: No request is made to
localhost:4321(confirmed in the Network tab β zero calls tomanifests.js). - Result: The page falls back to the deployed version or fails if the web part is not deployed.
π οΈ Additional Observation
While inspecting the Network tab, attempts to load:
http://localhost:4321/temp/manifests.js
result in a CORS-related error, even though the correct manifest path:
https://localhost:4321/temp/build/manifests.js
is directly accessible in the browser.
Because of this, the issue may not be strictly related to CSP, but potentially to how modern pages handle the debugManifestsFile parameter or cross-origin requests when resolving debug manifests.
π» Environment Details
- OS: macOS 15.4 (Build 25C56)
- SPFx: 1.22.1 (
@microsoft/sp-*) - Node: 22.14.0 (Heft-based rig)
- Toolchain:
heft start --clean(also tested withgulp serve) - Browser: Chrome / Edge (Incognito tested)
- Certificates:
gulp trust-dev-cert
I've been having the same problem since December 3, 2026.
Facing the same issue.. any update on this??
+1 , my dev workflow is severely hindered because of this. ETA for a fix would be nice
I reported this to MS last week and was told this is not something that their support can help with and I should report it to github. This must have been a server update that broke this, and it is as if us developers are not considered proper clients or partners...
I reported this to MS last week and was told this is not something that their support can help with and I should report it to github. This must have been a server update that broke this, and it is as if us developers are not considered proper clients or partners...
I also opened a ticket directly with Microsoft and they instructed me to come here, but I had already opened this ticket before.
I didn't even imagine that Microsoft wasn't responsible for SPFx. Now we have to wait for the developers here to get back to us.
For me it starts working after enabeling the "App on device" setting in the browser
and new debug toolbar options also available after that