Enable inspect element — developer tools in Microsoft Office add-ins on Mac (Debug Office Add-ins)

When you are developing Microsoft office add-ins you may need to open up developer tools on right-click(for debugging purposes). By default, it only allows to see the source but not inspect option.

If you want to enable it you may need to enter the below command on the terminal and reopen the add-in again.

defaults write com.microsoft.Excel OfficeWebAddinDeveloperExtras -bool truedefaults write com.microsoft.Word OfficeWebAddinDeveloperExtras -bool truedefaults write com.microsoft.Powerpoint OfficeWebAddinDeveloperExtras -bool truedefaults write com.microsoft.Outlook OfficeWebAddinDeveloperExtras -bool true

To be able to debug Office Add-ins on Mac, you must have Mac OS High Sierra AND Mac Office Version: 16.9.1 (Build 18012504) or later.

Happy Coding..!

--

--