I’m trying to debug a Python script using the methods documented here: Input/Output to Screen with Python - The Document Foundation Wiki
I’ve been unable to implement any of these options because the imports, such as “msgbox” and "
com.sun.star.awt" are not being resolved and fail to install via pip.
I’m using LibreOffice 6.3.4.2; Python 3.8; and PyCharm 2019.3
Is there an easier way to debug a Python macro? I tried using Python’s built-in logging, but it doesn’t work when the script is called from LibreOffice.