title: Python multiprocess debugging
body: <p>I'm trying to debug a simple python application but no luck so far.</p>
  
  <pre><code>import multiprocessing
  
  def worker(num):
      for a in range(0, 10):
          print a
  
  if __name__ == '__main__':
      for i in range(5):
          p = multiprocessing.Process(target=worker, args=(i,))
          p.start()
  </code></pre>
  
  <p>I want to set a breakpoint inside the for-loop to track the values of 'a' but non of the tools that I tried are able to do that.
  So far I tried debuging with:</p>
  
  <ul>
  <li>PyCharm and get the following error: ImportError: No module named
  pydevd - <a href="http://youtrack.jetbrains.com/issue/PY-6649" rel="noreferrer">http://youtrack.jetbrains.com/issue/PY-6649</a> It looks like
  they are still working on a fix for this and from what I understand, no ETA on this</li>
  <li>I also tried debuging with Winpdb - <a href="http://winpdb.org" rel="noreferrer">http://winpdb.org</a> but it simply won't go inside my 'worker' method and just print the values of 'a'</li>
  </ul>
  
  <p>I would really appreciate any help with this!</p>