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

Attaches but no breakpoints? #23

Open Viper512 opened 3 years ago

Viper512 commented 3 years ago

Application is written in angular.

npm run script = 'ng serve [projectname --port 443 --ssl true --ssl-key c:\certificates\[key] --ssl-cert c:\certificates\[crt] --host [local domain name]'

Can debug Edge, and Chrome with breakpoints. Cannot achieve this with outlook addin. Launch.json { "type": "chrome", "request": "launch", "name": "Launch Chrome against ssl [local domain name]", "url": "https://[local domain name]", "webRoot": "${workspaceFolder}" }, { "name": "Launch ssl [local domain name] in Microsoft Edge (Chromium) Canary", "type": "edge", "request": "launch", "version": "canary", "url": "https://[local domain name]", "webRoot": "${workspaceFolder}" }, { "type": "office-addin", "request": "attach", "name": "Attach to Office Add-ins", "port": 9222, "trace": "verbose", "sourceMaps": true, "url": "https://[local domain name]/index.html?_host_Info=Outlook$Win32$16.02$en-US$$$$0#/login", "webRoot": "${workspaceFolder}", "timeout": 45000 }

Would love to use vscode for this and not the Edge DevTools.