Prerequisite # check the python path for blender blender --background --python-expr "import sys; print(sys.executable)" # install debugpy blender-4.2.1-linux-x64/4.2/python/bin/python3.11 -m pip install debugpy