I have a question about "console.log" in the Javascript Web Office Addins . I am currently working on a Javascript Word Addin and cannot fix it because I do not understand where the output of "console.log" is sent. There are many examples on the Microsoft site that contain "console.log", but they never indicate how to test these outputs.
So the question is how can I see this output of "console.log". I do not use Visual Studio.
BR, Alexey
, Visual Studio, , Visual Studio? Visual Studio ( , - / )?
:
, ( " JavaScript"; Quick Launch (ctrl-Q), , ), DOM Explorer ( Quick Launch, ) .
~ , Office Extensibility, MSFT
, Visual Studio. "F12 Chooser", Windows\SysWOW64\F12\F12Chooser.exe
: https://github.com/OfficeDev/office-js-docs/blob/master/docs/testing/debug-add-ins-using-f12-developer-tools-on-windows-10.md
Mac Safari Web Inspector, :
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-office-add-ins-on-ipad-and-mac
Windows :
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/attach-debugger-from-task-pane
, Visual Studio, VS 2015 :
(after starting the project) Debug > Windows > JavaScript Console
To view the logs generated by Office add-ins, you must use the web service of your application, for example, Excel, Outlook, etc. All you have to do is upload the manifest.xml file as an add-on on the Internet, and then it will automatically sync or update when you make changes to local files.