How can I display console.log?

496 Views Asked by At

this topic is related to persons who developing excel add-ins using javascript api.

https://learn.microsoft.com/en-us/office/dev/add-ins/excel/excel-add-ins-ranges#get-the-selected-range

How can I display message via console.log(`The address of the selected range is "${range.address}"`); in VSCODE console or debug console?

2

There are 2 best solutions below

0
On
0
On

On a Mac, open safari develop menu (you may need to adjust settings to see it) and open the menu with the hostname of your Mac. Look for Excel related pages to debug. This will open safari dev tools which has a console log.