Category : pycharm

I’ve been fiddling with my Dockerfile and Docker Compose to try and get PyCharm to be able to run and debug my django application. I’ve identified that I need all services to be on the same network, and have put them on the same network, but when I go to execute the runserver command through ..

Read more

I am working on setting up a debugging environment for a Docker application in PyCharm. The application happens to be anonlink-entity-service (https://github.com/data61/anonlink-entity-service) and I’m using the instructions here: https://anonlink-entity-service.readthedocs.io/en/stable/debugging.html. 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. I’ve set up the virtual environment ..

Read more

I’m trying to setup debugging for a Python/Docker application (anonlink) using the instructions here: https://anonlink-entity-service.readthedocs.io/en/v1.15.0/debugging.html https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter.html#docker-compose-remote I’ve installed the Docker plug in: I’ve created the Docker instance: However, Docker does not appear as an option for python interpreter: How do I add Docker as an interpreter so I can enable debugging of this Docker application? ..

Read more

I’m using command docker run -e GRB_WLSACCESSID=xxxxxxx to set environment variables for Gurobi authorization. The OS of container is Ubuntu 16.04. This is OK if I login the container via SSH interactively and read the environment variables by python code os.getenv(). But, when I add this container as remote SSH interpreter in Pycharm and execute ..

Read more

I’ve got simple Django server configuration with remote Docker interpreter this is interpreter config and this is docker server config Everything works well, containers are creating and working, but Pycharm attaching hangs like this I can think about only one misconfiguration – container exposes to :9000 port, but i’ve already tried this Can anyone help ..

Read more