OfficeDev / vscode-debugger-extension-for-office-addins

VS Code extension to allow for debugging Office Add-ins in VS Code
19 stars 9 forks source link

Visual Studio Code Debugger doesn't break at all for Excel Add-in #25

Closed chanhohang closed 3 years ago

chanhohang commented 3 years ago

I follow the page below to create a Excel Add-in project with React and javascript.

https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/excel-quickstart-jquery?tabs=yeomangenerator

When i try to run the add-in with debug following the page

https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-with-vs-extension

The add-in can be started and is running correctly in Excel, however, all the breakpoints are not interruptting the exeution.

When i use the Microsoft Edge DevTool, The breakpoints are working fine. https://www.microsoft.com/en-us/p/microsoft-edge-devtools-preview/9mzbfrmz0mnj?activetab=pivot:overviewtab

Please kindly check why the visual studio code attach is not working anymore.

TCourtneyOwen commented 3 years ago

@chanhohang Sorry to hear you are having problems. A couple questions for you:

image

chanhohang commented 3 years ago

Sorry for not responding for to long.

I just tested the VS code debugger with a sample excel add in project following the page https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-desktop-using-edge-chromium

it is working fine. Closing this ticket and thanks so much for your quick turn reply.