There is a Docker container. In PyCharm its Dockerfile is specified as a Python interpreter. Without Docker I can run the debugger and when I visit the site via browser, you can step by step to see what is happening in the code. How do I get to debug the request from a browser of a Docker container?
When I run (in the start script), the debugger of the dock, it runs, stops on breakpoints, but at the end of the script terminates. How to make Debug listening for incoming connections from the BROWSER?
The console output of the debugger:
And by the way, why there is a reference to /opt/project/script.py if on the host and the way everything is in different folders?