


For Chrome and most browsers F12 will open the developer tools. Once you've sideloaded to the document, it will remain sideloaded each time you open the document. On the Office Add-ins dialog, select the MY ADD-INS tab, choose Manage My Add-ins, and then Upload My Add-in.īrowse to the add-in manifest file, and then select Upload.

Open the Insert tab on the ribbon and, in the Add-ins section, choose Office Add-ins. Choose Terminal > Run Task and type or select Dev Server.This will monitor and rebuild for any file changes. Choose Terminal > Run Task and type or select Watch.Open your custom functions root project folder in Visual Studio Code (VS Code).The following steps work for both Windows and macOS. You can use the browser developer tools to debug custom functions that don't use a shared runtime in Excel on the web. Use the browser developer tools to debug custom functions in Excel on the web VS Code debugging of CF-NSR that are running in Excel on Mac isn't supported. Use VS Code and the browser development toolsĭebugging CF-NSR that are running in Excel on Windows outside VS Code isn't supported. In this table, "CF-NSR" refers to custom functions in a non-shared runtime. Use the links in the following table to visit sections of this article that are relevant to your debugging scenario. The process of debugging a custom function for add-ins that don't use a shared runtime varies depending on the target platform (Windows, Mac, or web) and on whether you are using Visual Studio Code or a different IDE. Debug add-ins using developer tools in Internet Explorer.Debug add-ins using developer tools in Microsoft Edge (Chromium-based).To debug an add-in that is created with this option, see the instructions in one of the following articles, as appropriate. The scripts that are referred to later in this article aren't installed with that option. The debugging techniques that are described in this article don't work with projects that are created with the Office Add-in project containing the manifest only option in the Yeoman generator.
