解决办法
File->settings->build->python debugger->gevent compatible(勾选)