Debugging#
If all containers are running via docker-compose, it is not possible to interact with the debug shell. Therefore, you need to do the following:
-
docker psto list all running containers -
docker rm -f name_of_server_container -
docker-compose run --rm --service-ports server
After that, if you place a breakpoint() anywhere in the code, you can step through and inspect values of variables.