

In Solution Explorer, choose the add-in project ( not the web application project).įrom the menu bar, choose View > Properties Window. Open the Properties window for the add-in project to review project properties. Review the build and debug propertiesīefore you start debugging, review the properties of each project to confirm that Visual Studio will open the desired Office application and that other build and debug properties are set appropriately. For information about debugging on a Mac, see Debug Office Add-ins on a Mac. You can't use Visual Studio to debug add-ins in Office on Mac. For information about debugging server-side code in Office add-ins, see Overview of debugging Office Add-ins - Server-side or client-side?.

This article describes how to debug client-side code in Office Add-ins that are created with one of the Office Add-in project templates in Visual Studio 2022.
