How to setup SSH debugging for Python with Matplotlib