Skip to content

Commit 1a34daf

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ To reproduce the same behavior of the `JSLink` custom field rendering, you need
263263
264264
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."
265265
266+
> 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)
267+
266268
## Define the new Field Customizer with TypeScript
267269
268270
You are now ready to replace the JavaScript code with TypeScript to benefit from the fully typed approach of TypeScript.

0 commit comments

Comments
 (0)