sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

debugManifest stopped working today

Open lhdeveloper opened this issue 8 months ago β€’ 100 comments

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

  1. start application
  2. apply params on sharepoint url site
  3. nothing happens

Expected behavior

so that it would start working again as it always had, recognizing the application running locally.

lhdeveloper avatar Mar 12 '26 01:03 lhdeveloper

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.

Ashlesha-MSFT avatar Mar 12 '26 05:03 Ashlesha-MSFT

For me the issue is happening with fast-serve only and local host is not running. But with gulp serve, things are working fine.

HarminderSethi avatar Mar 12 '26 10:03 HarminderSethi

@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.

Ashlesha-MSFT avatar Mar 12 '26 11:03 Ashlesha-MSFT

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.

lhdeveloper avatar Mar 12 '26 12:03 lhdeveloper

I'm seeing this too, same configuration as the original poster.

Not running fast serve or any other add-on that isn't standard.

juliemturner avatar Mar 12 '26 16:03 juliemturner

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.

salleslucas avatar Mar 12 '26 16:03 salleslucas

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.

murchelon avatar Mar 12 '26 19:03 murchelon

Currently, only the workbench is functioning.

lhdeveloper avatar Mar 12 '26 21:03 lhdeveloper

Image

Apparently the problem has been solved, everyone.

lhdeveloper avatar Mar 13 '26 01:03 lhdeveloper

still not working for me

HarminderSethi avatar Mar 13 '26 04:03 HarminderSethi

Unfortunately, things remain exactly the same here; it still doesn't work!

Fernando-ctdev avatar Mar 13 '26 10:03 Fernando-ctdev

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.

lhdeveloper avatar Mar 13 '26 12:03 lhdeveloper

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.

gomeshenrique avatar Mar 13 '26 12:03 gomeshenrique

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 debugManifestsFile parameter 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 to manifests.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 with gulp serve)
  • Browser: Chrome / Edge (Incognito tested)
  • Certificates: gulp trust-dev-cert

Image

iguilhermeluis avatar Mar 13 '26 14:03 iguilhermeluis

I've been having the same problem since December 3, 2026.

janderson-clemar avatar Mar 13 '26 14:03 janderson-clemar

Facing the same issue.. any update on this??

ShanidGafoor avatar Mar 15 '26 10:03 ShanidGafoor

+1 , my dev workflow is severely hindered because of this. ETA for a fix would be nice

NoamRabbani avatar Mar 15 '26 14:03 NoamRabbani

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...

ishaisagi-hns avatar Mar 15 '26 21:03 ishaisagi-hns

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.

lhdeveloper avatar Mar 16 '26 02:03 lhdeveloper

For me it starts working after enabeling the "App on device" setting in the browser

Image

and new debug toolbar options also available after that

Image

HarminderSethi avatar Mar 16 '26 05:03 HarminderSethi