adesai5011
Aug 08, 2023Copper Contributor
Status:
New
Not able to debug Outlook Web add-in in new Outlook (Desktop)
In current Outlook version (Desktop), when opening our Outlook Web add-in, we can use "Inspect" option (by performing right click from the mouse) in the web add-in taskpane (right side pan) as...
EricLegault
Dec 19, 2023Brass Contributor
Thanks for your timely response daviddykstra, as I just learned of a solution for this last week directly from the Outlook dev team! With the New Outlook closed, run this from the command prompt window:
olk.exe --devtools
This will start the New Outlook with DevTools open and ready to go! This even provides the advantage of being able to see console output when a Task Pane or Office JS Dialog loads, where before you had to open it first, then launch DevTools, then refresh the page to reload the add-in again. However, if you close DevTools when you launch the New Outlook with this command, you will have to run the command again to bring back DevTools - but it will start a second instance of the New Outlook.
Hope this helps!