For debug ^^^^^^^^^ **INFO_DEBUG** ^^^^^^^^^^^^^^ Show info debug, show in message box. .. code-block:: python import easymacro as app def info(): app.msgbox(INFO_DEBUG) return Show in shell. .. code-block:: python import easymacro as app def info(): app.debug(INFO_DEBUG) return **Log error** ^^^^^^^^^^^^^ Show error message in shell. .. code-block:: python import easymacro as app def error(): msg = 'My error 500' app.error(msg) return **Log debug** ^^^^^^^^^^^^^ Show debug message in shell. .. code-block:: python import easymacro as app def error(): msg = 'Verify this data...' app.debug(msg) return **Log info** ^^^^^^^^^^^^^ Show info message in shell. .. code-block:: python import easymacro as app def error(): msg = 'Start process...' app.info(msg) return **Call MRI** ^^^^^^^^^^^^ `MRI`_ is the better extension for debug any object in LibreOffice. .. code-block:: python import easymacro as app def error(): obj = app.active app.mri(obj) return .. _MRI: https://github.com/hanya/MRI