OfficeDev / vscode-debugger-extension-for-office-addins

VS Code extension to allow for debugging Office Add-ins in VS Code
18 stars 7 forks source link

Debugging in Outlook? #21

Open kdubious opened 3 years ago

kdubious commented 3 years ago

I'm able to debug my add-in with the Edge tools, but not with VS Code. Should I be able to debug in Code?

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "office-addin",
      "request": "attach",
      "name": "Attach to Office Add-ins",
      "port": 9222,
      "trace": "verbose",
      "url": "https://localhost:3000/taskpane.html?_host_Info=Outlook$Win32$16.02$en-US$$$$0",
      "webRoot": "${workspaceFolder}",
      "timeout": 45000
    },
}

I launch with npm run dev-server

MVSTeja91 commented 3 years ago

@TCourtneyOwen Any update on this? I am also unable to attach debugger in vscode. I tried both npm start and npm run dev-server both fail, and I also see

Error: Unable to start debugging. office-addin-debugging: Unable to sideload the Office Add-in. Error: Sideload is not supported.

During npm start

chenjianan0823 commented 2 years ago

I also encountered this problem. How did I solve it in the end?