Debugging

To run ONLYOFFICE Desktop Editors in debug mode, follow the instructions depending on the operating system you use.

There are two ways to launch the application: through the shortcut or the terminal.

Option 1. Run the app through the shortcut:

  1. Right-click the application shortcut on the desktop screen.
  2. Choose Properties.
  3. Open the Shortcut tab.
  4. In the Target field, after the path to the application, enter a space and then type the --ascdesktop-support-debug-info flag.
  5. Click the Apply button.

Windows shortcut


Option 2. Run the app through the terminal:

  1. Press Win+R.
  2. In the appeared Run window, type cmd in the Open field.

    Windows terminal

  3. Click the OK button. The terminal will be opened.
  4. In the command line, enter the path to the application, add a space and then type the --ascdesktop-support-debug-info flag:

    "%ProgramFiles%\ONLYOFFICE\DesktopEditors\DesktopEditors" --ascdesktop-support-debug-info

Use the terminal to run ONLYOFFICE Desktop Editors in debug mode:

  1. Press CTRL+ALT+T. The terminal will be opened.
  2. In the command line, enter the path to the application, add a space and then type the --ascdesktop-support-debug-info flag:

    "/opt/onlyoffice/desktopeditors/DesktopEditors" --ascdesktop-support-debug-info

Use the terminal to run ONLYOFFICE Desktop Editors in debug mode:

  1. Press Command+Space.
  2. In the appeared Spotlight window, type Terminal in the search line:

    MacOS terminal

  3. Choose the Terminal option. The terminal will be opened.
  4. In the command line, enter the path to the application, add a space and then type the --ascdesktop-support-debug-info flag:

    "/Applications/ONLYOFFICE.app/Contents/MacOS/ONLYOFFICE" --ascdesktop-support-debug-info

To start working in dubug mode, right-click any editable field on the top toolbar (for example, font list combo) and click Inspect Element.

Here is the result:

Debug