我刚刚下载了VS代码扩展Microsoft Office插件调试器。我按照说明操作了,但是我不能让它工作。总是弹出一条错误消息:

当我查看我的lauchn.json文件时,我看到下面列出了这个网址:
{
"type": "office-addin",
"request": "attach",
"name": "Attach to Office Add-ins",
"port": 9222,
"trace": "verbose",
"url": "https://localhost:3000/taskpane.html?_host_Info=HOST$Win32$16.01$en-US$$$$0#",
"webRoot": "${workspaceFolder}",
"timeout": 5000
}我不知道URL中额外的"]“是什么意思。我还试图发送邮件到微软提供的电子邮件地址(opencode@microsoft.com),但像往常一样,无济于事。任何帮助都是非常感谢的。
在此之前,非常感谢您。
发布于 2020-08-25 20:05:12
在launch.js文件中,您只需按照消息框中的说明将HOST替换为Excel。例如,它应该看起来像这样:
{
"type": "office-addin",
"request": "attach",
"name": "Attach to Office Add-ins",
"port": 9222,
"trace": "verbose",
"url": "https://localhost:3000/taskpane.html?_host_Info=Excel$Win32$16.01$en-US$$$$0",
"webRoot": "${workspaceFolder}",
"timeout": 5000
}https://stackoverflow.com/questions/63573952
复制相似问题