I'm developing a cassandra
storage finder for graphite-api
.
graphite-api
is installed via pip and run via gunicorn
so I can't just call the script with a debugger but want to use interactive debugging.
When I import pdb
in my storage finder and set a breakpoint, the code will halt there, but how can I connect now to the headless running pdb in the script?
Or is my approach to this debugging problem the wrong one and this has to be done in a completely other way?