Skip to content

Update index.rst to include tip about enabling mavsdk-server debug output #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions mavsdk/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ The examples assume that the embedded ``mavsdk_server`` binary can be run. In so
Debug connection issues
-----------------------

.. note::
By default mavsdk-python will not print any output from mavsdk-server. If you are experiencing connection issues, it can pay to enable forwarding of the mavsdk-server output into the python console. You can do so with this piece of code at the top of your file:

.. code:: python

import logging
logging.basicConfig(level=logging.DEBUG)

In order to get more debugging information, it is possible to run the mavsdk_server binary separately.

For this case, let's assume the example was like this:
Expand Down
Loading