Is there a way with gulp serve to get a trace of TypeScript statements that are executed in a SPFx client application ?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
scroll top