在 Word 中调试旁加载加载项 运行

Debugging side-loaded add-in running in Word

我一直在通过 Chrome 开发人员工具在线使用 Word 调试我的插件。但是我想在 Office 365 客户端而不是它的 web 客户端中开始调试。我能够加载我的加载项清单并打开加载项任务窗格。一切正常,但我似乎无法打开 debugger/output/whatever。

我尝试使用 windows F12 工具并附加它,但它从未显示任何进程 运行 即使 Word 和加载项是 运行.

我需要配置什么才能正常工作吗?或者有其他调试方法吗?

如有任何帮助,我们将不胜感激

查看这篇文章以了解正在使用的浏览器:Browsers used by Office Web Add-ins. If Edge is being used, then the add-in will not appear in the F12 tool. You have to use the Edge Development Tools Preview