PyQt5 collisions in PyCharm 2018.2 when debugging QGIS application
Dear colleagues,
Please Help. I try to find solution 3 months...
1. I add Path according to instruction https://github.com/USEPA/SWMM-EPANET_User_Interface/wiki/Getting-Started-as-a-Developer-in-Python-3

If I start and try import qgis I receive error:

2. I start with python-qgis.bat file with:
@echo off
call C:\OSGeo4W64\bin\o4w_env.bat
call qt5_env.bat
call py3_env.bat
@echo off
path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH%;
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis
set GDAL_FILENAME_IS_UTF8=YES
rem Set VSI cache to be used as buffer, see #6448
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\qt5\plugins
set PYTHONPATH=%OSGEO4W_ROOT%\apps\qgis\python;%PYTHONPATH%;
rem "%PYTHONHOME%\python" %*
@"C:\Program Files\JetBrains\PyCharm 2018.2\bin\pycharm64.exe"
Then I run program with Ctr+Shift+F10 everything is ok, program run. 

But if I try start debugging I received error:

Please help...
Thanks in advance for any help!
Please sign in to leave a comment.