ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.83k stars 322 forks source link

F12 does not open Developer Console for debugging Macros #1341

Closed KhalfaniW closed 1 year ago

KhalfaniW commented 1 year ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

7.4.1.36 (snap)

Expected Behavior

The documentation here https://api.onlyoffice.com/plugin/debugging says

F12 should open the developer console as described here

Maybe that is for debugging online version. If so, the documentation should be clearer.

Actual Behavior

F12 does nothing

Reproduction Steps

No response

Additional information

I opened developer console by following the instructions here

https://api.onlyoffice.com/desktop/debugging#linux

I ran open office with the --ascdesktop-support-debug-info flag and pressed F1

l8556 commented 1 year ago

Hi KhalfaniW !

To run DevTools in Desktop Editor to debug macros, you need: — Open Desktop Editor with flag --ascdesktop-support-debug-info. — Open plugin macros — Press F1.

You can find more information about running DevTools in Desktop Editor here: https://api.onlyoffice.com/desktop/debugging#linux.

F12 – opens browser DevTools and can be used to debug macros in Document Server

KhalfaniW commented 1 year ago

The documentation here https://api.onlyoffice.com/plugin/debugging

Should say you need to do that.to open devtools.

The documentation was very confusing fro me

trofim24 commented 1 year ago

@KhalfaniW thanks for your additions. I added instructions for Desktop Editors in API