无法通过VS代码调试Outlook Office-JS加载项

问题描述

这是我遵循的步骤。链接https://docs.microsoft.com/en-us/office/dev/add-ins/tutorials/outlook-tutorial

  1. 使用npm“ npm install -g yo generator-office”安装了yo生成

  2. 运行命令“ yo office”并切换到项目文件

  3. 添加了提及的库(showdown,urijs,jquery)“ npm install showdown urijs jquery --save”

  4. 已安装VS Code扩展。

    enter image description here

  5. 执行以下命令以运行节点服务器“ npm run dev-server”

  6. 使用VS Code在线运行办公室

    enter image description here

    enter image description here

  7. 提供的网址如下“ https:// localhost:3000 / taskpane.html?_host_Info = Outlook $ Win32 $ 16.01 $ en-US $$$$ 0”

    enter image description here

  8. 使用Outlook添加了加载项。

    enter image description here

  9. 将断点放置在OnReady方法

    enter image description here

  10. 进行了一些更改,并检查是否会遇到断点。 Outlook应用程序中反映的更改而不会达到调试点

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)