OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
687 stars 94 forks source link

Office Add-ins not showing in Microsoft Edge Devtools Preview #2185

Closed PauRosello97 closed 3 years ago

PauRosello97 commented 3 years ago

When opening an office add-in (Outllok, Word, Excel or PowerPoint) locally or once deployed, I should be able to see it in the Microsoft Edge Devtools, but it's appearing blank. What are the steps we should follow to discover the problem?

Expected Behavior

When opening an office add-in it should appear Microsoft Edge Devtools

Current Behavior

The Microsoft Edge Devtools list is blank (even after refreshing).

Context

I'm trying to develop a series of add-ins for Outlook, PowerPoint, Excel and Word. This is working in other computers, but not in mine. I've followed the steps in the documentation, and I don't know what more can I try.

Your Environment

Useful logs

image

Rick-Kirkham commented 3 years ago

The Edge DevTools can only see and attach to processes running in the Edge Legacy webview (EdgeHTML). Based on your version of Office, your add-in is probably running in the new Chromium-based Edge webview (WebView2). See Browsers used by Office add-ins. To debug an add-in that is using WebView2, see the article Debug add-ins on Windows using Edge Chromium WebView2.

Let us know if that doesn't work. Otherwise, I'll close this issue in a couple days.