anonlink-entity-service icon indicating copy to clipboard operation
anonlink-entity-service copied to clipboard

Issues seen when trying to set up PyCharm debugging on Windows

Open greshje opened this issue 2 years ago • 1 comments

I needed to make several modifications to the setting up PyCharm debugging instructions posted at https://anonlink-entity-service.readthedocs.io/en/stable/debugging.html to get it to work in my environment. I've worked most of them out and will post here after confirming and documenting. However, I have not been able to resolve one issue yet. Basically, I have not been able to configure the virtual environment for the anonlink-entity-service without moving the entityservice folder from <project_root>/backend/entityservice to <project_root>/entityservice.

More details are here: https://stackoverflow.com/questions/70147842/how-to-fix-problem-with-working-directory-import-root-with-docker-virtual-enviro

Current environment is: Python version is 3.9.7 Docker version is Docker Desktop 4-0-1 PyCharm version is 2021.2.3 (Professional Edition) I'm running on Windows.

greshje avatar Nov 29 '21 12:11 greshje

The import/path problem can be fixed in PyCharm by right clicking on the folder and then selecting "Mark Directory As --> Sources Root"

NACHC-CAD avatar Dec 24 '21 11:12 NACHC-CAD