SPFx Online Workbench Retirement: Modern Debugging Guide
Prepare for the SPFx Online Workbench retirement and learn how to debug web parts and extensions on modern SharePoint pages.
- Published
- Reading time
- 6 min read
Quick answer
Use a development SharePoint page and a locally running SPFx server to load debug manifests, then test the component in its real host context.

Before you start
Is this guide for you?
- Best entry point
- SharePoint
- Time investment
- 6 min read
- Prerequisite knowledge
- An SPFx project, a supported Node.js version for that project, and access to an editable modern SharePoint development page.
What you’ll learn
- Microsoft announced retirement of the SPFx Online Workbench on 1 December 2026.
- SPFx itself continues; test web parts on an editable modern page in a development site.
- Use the command and manifest path appropriate to your project’s SPFx toolchain.
- Extensions need a suitable page, list or library and component-specific debug configuration.
Before you start
- Prerequisite knowledge
- An SPFx project, a supported Node.js version for that project, and access to an editable modern SharePoint development page.
On this page (9 sections)
The SharePoint Framework Online Workbench was scheduled for retirement on 1 December 2026. Developers who used it to preview locally served web parts should move their testing workflow to an editable modern SharePoint page.
Microsoft announced the retirement in its SPFx 1.23 announcement and documents the replacement workflow in its modern page debugging guide.
What changed?
The Online Workbench was a dedicated SharePoint-hosted page for testing SPFx components, commonly reached through /_layouts/15/workbench.aspx. It gave developers a place to load locally served web parts before packaging a solution.
Now, use a real modern SharePoint page in a development site. The browser loads the component's debug manifests and bundles from your local server while SharePoint supplies the page context. This makes it easier to check page layouts, themes, permissions and interactions with other components.
SPFx itself is not retired. Existing deployed web parts and extensions do not stop working simply because the Online Workbench is retired. Continue to review each project's SPFx version, dependencies and any feature-specific retirement notices. The older local workbench was removed in SPFx 1.13, and the separate Copilot Workbench is not covered by this retirement.
Before you begin
- Use a development tenant or isolated development site, with a modern page your account can edit. Avoid testing unverified code against production data.
- Open your SPFx project and confirm its version, supported Node.js version and toolchain. Install its dependencies according to the project instructions.
- Ensure the local HTTPS development certificate is trusted using the guidance for your toolchain, and keep the local server running during the test.
- Know which component you are testing: web parts, application customizers, field customizers and command sets need different hosts or configuration.
Step 1: Prepare a development page
- Open your SharePoint development site and create or choose a modern page that you can edit.
- Use a page intended for testing, with representative layout, theme and sample content. Keep sensitive or business-critical data out of the test.
- For an extension, choose the appropriate host: for example, a list view for a list view command set or field customizer.
A real page lets you test how a web part behaves in different section widths and alongside other components. It also means your code can interact with real resources permitted to the signed-in user, so use suitable test data and permissions.
Step 2: Start the local development server
From your project directory, use the command appropriate for the project. Microsoft's current modern-page guide uses Heft for SPFx 1.22 and later:
heft start --nobrowser
Older Gulp-based projects use gulp serve instead. If the project's configuration opens the retired Workbench automatically, use the appropriate no-browser option for that project or update its development configuration to target a modern page. Check the project's scripts and the legacy toolchain guidance rather than assuming every version uses the same command.
Wait for the build to succeed and keep the terminal open. The localhost server serves development assets to your browser; the SharePoint page remains hosted in the tenant.
Step 3: Load your web part on the page
For the current manifest path, open your editable development page and append the following query parameters. Use & in place of the first ? if the URL already has a query string:
?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/build/manifests.js
For example, append that query to https://contoso.sharepoint.com/sites/dev/SitePages/SPFxTesting.aspx. The full URL must be on one line. Accept the debug-script prompt only when you trust the local development server. Then edit the page and select your local web part from the toolbox.
Version detail: Microsoft documents a manifest URL change in SPFx 1.21, from https://localhost:4321/temp/manifests.js to https://localhost:4321/temp/build/manifests.js. Use the path and port produced by your project rather than copying a URL without checking it.
Step 4: Debug and repeat
- Open your browser developer tools, inspect the console and network requests, and set breakpoints in the source files as appropriate.
- Change the code locally and wait for the development build to finish. Reload the SharePoint page to test the updated component.
- Check the property pane, page layout, theme and relevant data access with representative permissions.
- When finished, stop debug scripts using the Debug Toolbar or the documented reset option, and stop the local server.
Local debug manifests are for development. Do not deploy a package that points to your laptop as a production solution: it depends on your local server and is not a production release.
What about extensions?
Extensions run in a host appropriate to their type. An application customizer can be tested on a modern page; a field customizer needs a relevant list field; and a command set needs a supported list or library view. These scenarios require more than the web-part URL alone.
For an extension, configure config/serve.json with the appropriate page URL, component ID, location and test properties. Microsoft documents heft start --serve-config=helloWorld as an example for choosing a named configuration. Alternatively, construct the component-specific debug URL using the official extension examples.
Common problems and fixes
- The component does not appear in the toolbox: Confirm that the server built successfully, the page is in edit mode, the debug-script prompt was accepted and the manifest URL matches your project.
- The localhost manifest cannot load: Check that the server is running, the HTTPS certificate is trusted and the browser can reach the configured port. Review the browser console and network errors.
- The browser blocks local network access: Microsoft notes that current Chromium-based browsers may ask permission for SharePoint to reach localhost. Allow it for your trusted development setup when prompted and review the browser's site settings if previously denied.
- An extension does not load: Verify the component ID, extension type, properties and selected host. A field customizer or command set needs the correct list context.
- Data requests fail: Check the signed-in user's permissions, API consent and the actual error response. Loading a debug manifest does not grant access to data.
- Changes are missing: Wait for the rebuild, confirm that the local server is serving the expected project and reload the page. Check whether the browser is still using an older debug session.
Team migration checklist
- Find scripts, documentation, bookmarks and onboarding instructions that point to the old Workbench.
- Set up a dedicated development page or suitable list view and record who can edit it.
- Document the right commands, localhost manifest path and supported Node.js version for each maintained project.
- Test a web part and each extension type in their appropriate hosts, including permissions and failure scenarios.
- Update team documentation and verify that release packages use production assets rather than localhost references.
Moving the workflow to modern pages gives teams a practical way to test in SharePoint's real context. Start with one representative solution, document the working setup and repeat the process for the other projects your team maintains.
Tagged
Architecture · Integrations · Governance
Frequently asked questions
Is SharePoint Framework being retired?
No. The announcement concerns the SPFx Online Workbench. SharePoint Framework remains available, subject to its own support and feature-specific notices.
What replaces the Online Workbench for web parts?
Microsoft recommends debugging locally served web parts on an editable modern SharePoint page using the SPFx debug experience and Debug Toolbar.
Should I run heft start or gulp serve?
Use the toolchain for your project. Current Heft-based projects use heft start; older Gulp-based projects use gulp serve. Check the project version and Microsoft’s compatibility guidance.
Is the Copilot Workbench also retired?
No. Microsoft states that the Online Workbench retirement does not apply to the Copilot Workbench used for Copilot UX components.
Have a Microsoft 365 topic idea?
Share article suggestions, community session ideas, corrections, or real-world scenarios for future nextM365 learning notes.
Keep learning Microsoft 365
Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.
Continue learning
Related tutorials
Related questions
Next action