Skip to content

Commit c1911d6

Browse files
thechriskentVesaJuvonen
authored andcommitted
Added note for debugging with serve configurations (SharePoint#2179)
1 parent 1a34daf commit c1911d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ To reproduce the same behavior of the ECB menu item built by using the SharePoin
202202

203203
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."
204204

205+
> 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)
206+
205207
<a name="PackageAndHostCommandSet"> </a>
206208

207209
## Package and host the solution

0 commit comments

Comments
 (0)