如何在Ubuntu OS中将Qgis与pycharm连接
我刚刚开始将pycharm与qgis结合使用,但无法同时连接它们两者。Pycharm始终处于“等待连接”状态。大多数可用的教程都指向Windows,但是我使用的是ubuntu,所以找不到在pycharm上调试qgis代码的方法。这是我的pycharm代码: from shapely.geometry import * from shapely.wkt import loads import sys import pydevd pydevd.settrace('localhost', port=53100, stdoutToServer=True, stderrToServer=True) class Loader: def __init__(self, iface): """Initialize using the qgis.utils.iface object passed from the console. """ self.iface = iface 我在pycharm中启用了断点,并在pythonpath中添加了pycharm-debug.egg,有人从ubuntu上的qgis如何配置它吗? pycharm始终位于: Starting debug server at port 53100 Use the following code to connect to …