I'm making a flask webapp with docker, I'm looking for a way to enable pycharm debugging, so far I'm able to deploy the app using the in built docker, the app is automatically ran due to the dockerfile configs using supervisord
When I connect my remote interpretor I get the usual:
* Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 579-233-679
But the post I perform clearly isn't going to that interpretor as I've marked all of the routes to be break points, I'm still getting the original results from the webapp and none of the break points do anything.
I guess I'm asking:
- Am I going about this the wrong way? (should I just use a VM, remote debug on that and then containerise the VM later on)
- Is what I'm trying to do even possible?
- Should I just manually debug everything instead if I use this method of development?