title: Django Gunicorn Debug
body: <p>Initially I had a Django app with the included testing server. To debug this setup, I can just add a <code>import pdb; pdb.set_trace()</code> anywhere in the code and have a breaking point that throws me into an interactive debugger in Terminal (on command-line). </p>
  
  <p>Recently I shifted to gunicorn to gain some perf benifits. How can I get a similar behavior while using this Gunicorn setup. I have tried by setting gunicorn settings with <code>debug=True</code> and <code>daemon=False</code> but it does not work.</p>
  
  <p>Anyone has a solution to this?</p>