Skip to content

Commit efb94d7

Browse files
thechriskentVesaJuvonen
authored andcommitted
Added note for debugging with serve configurations (SharePoint#2181)
1 parent 373260a commit efb94d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/spfx/extensions/guidance/migrate-from-usercustomactions-to-spfx-extensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ The UI elements of the custom footer are rendered using React and a custom React
353353
354354
Notice that when executing the page request, you are prompted with a warning message box with the title "Allow debug scripts?", which asks your consent to run code from localhost for security reasons. Of course, if you want to locally debug and test the solution, you have to allow it to "Load debug scripts."
355355
356+
> Alternatively, you can create serve configuration entries in the `config/serve.json` file in your project to automate the creation of the debug query string parameters as outlined in this document: [Debug SharePoint Framework solutions on modern SharePoint pages](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-modern-pages#debug-sharepoint-framework-extensions-on-modern-sharepoint-pages)
357+
356358
## Package and host the solution
357359
358360
If you are happy with the result, you are now ready to package the solution and host it in a real hosting infrastructure.

0 commit comments

Comments
 (0)