The debugging instructions below have been tested on PyCharm 2017.1.
In PyCharm, go to:
Settings > Project Settings > Python Debugger
Then enable "Gevent compatible".
Create a new Python debug configuration with these parameters:
- Script: path of your gunicorn installation (e.g. "/usr/local/bin/gunicorn3")
- Script parameters: "-b {address:port} --reload -t 50000 main:app"
- Environment variables: "path/to/your/configuration/file.ini"
- Working directory: "/path/to/your/frog4-orchestrator"
At this point all you need is to run the orchestrator by using the debug button in PyCharm.