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

SPFx Extension

Open john88benson opened this issue 8 years ago • 6 comments

To whom it may concern,

While the article clearly explains the process for Web Parts, I would advocate expanding upon the above with some of the extra steps for debugging a SPFx Extension. Providing specifics on how once opened the workbench browser can be used test on different pages in a SharePoint site while still letting you step though your Extension code would be very useful. I eventually figured it out myself, but having that extra info readily available in the article would be much more efficient.

Cheers, -John


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

john88benson avatar Apr 04 '18 18:04 john88benson

I agree with John. It would be nice to see example of extension debugging.

mulduni avatar May 17 '18 16:05 mulduni

@john88benson maybe you could create a pull request on the steps you took to accomplish this? I’m interested in the steps myself.

parithon avatar May 18 '18 01:05 parithon

Any reason the url value in the configuration couldn't just point straight to full extension url rather than the workbench?

sparkitect avatar Jul 28 '18 00:07 sparkitect

@sparkitect nope... no reason why you can't just change the start URL. In this doc, the web part is used as an example as you just need to point to the start URL. Extensions are no different.

In fact, it's nothing special about SPFx... any web dev works like this when debugging with VSCode.

andrewconnell avatar Feb 06 '19 23:02 andrewconnell

This issue was never closed from merging PR #1884... closing now

andrewconnell avatar Feb 06 '19 23:02 andrewconnell

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 28 '20 00:01 msft-github-bot