Can I get a trace of TypeScript statements executed in a SharePoint SPFx client web part?
-
08-12-2020 - |
Question
Is there a way with gulp serve to get a trace of TypeScript statements that are executed in a SPFx client application ?
La solution
There is some logging support built into the framework. Documentation can be found here - https://github.com/SharePoint/sp-dev-docs/wiki/Working-with-the-Logging-API , and a blog post by Wictor here - http://www.wictorwilen.se/sharepoint-framework-nuggets-logging-like-a-pro
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange