Attach a debugger from the task pane

In Office 2016 for Windows, Build 77xx.xxxx or later, you can attach the debugger from the task pane. The attach debugger feature will directly attach the debugger to the correct Internet Explorer process for you. You can attach a debugger regardless of whether you are using Yeoman Generator, Visual Studio Code, node.js, Angular, or another tool.

To launch the Attach Debugger tool, choose the top right corner of the task pane to activate the Personality menu (as shown in the red circle in the following image).

Note: Currently the only supported debugger tool is Visual Studio 2015 with Update 3. If you don't have Visual Studio installed, selecting the Attach Debugger option doesn’t result in any action.

Screenshot of Attach Debugger menu

Select Attach Debugger. This launches the Visual Studio Just-in-Time Debugger dialog box, as shown in the following image.

Screenshot of Visual Studio JIT Debugger dialog

You can then attach and debug in Visual Studio.

For more information, see the following:

Additional resources