Tried running a localhost https outlook office add-in in vscode, which is automatically sideloaded. It functions just right when the dialog appears on-send. However, when f12 is pressed, devtools does not appear.
Tried the following:
- Run debug mode in VSCode, does not attach to outlook addin. When run with msedge.exe --remote-debugging-port=9229 (port defined in launch.json), debugger attaches to the newly opened empty edge window instead of the addin.
- Tried Windows built-in IEChooser (F12), but add-in does not appear in the list of target pages to debug (possible reason is that IEChooser is only for apps that run on Internet Explorer 11)
- When the dialog displays, pressing f12 does not trigger anything, right-click seems to be disabled
- Set JS_DEBUG Microsoft.Win32WebViewHost app package in powershell, prompts success but nothing seemed to change.
Version Details:
Windows 10 Pro 64bit 20H2 19042.1165
Microsoft® Outlook® for Microsoft 365 MSO (16.0.14228.20216) 64bit
MS Edge 92.0.902.84 64bit
VSCode 1.59.1
UPDATED please see edits above