title: Pycharm pydev debugger: process is connecting forever
body: <pre><code>/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/bin/python3.6 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 55819 --file "/Applications/PyCharm CE.app/Contents/helpers/pycharm/_jb_unittest_runner.py" --target test_output.TestMispOutputBot.test_event
  Testing started at 10:31 ...
  pydev debugger: process 3170 is connecting
  </code></pre>
  
  <p><strong>No output for 10 minutes before I give up and kill the process.</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1599, in &lt;module&gt;
      globals = debugger.run(setup['file'], None, None, is_module)
    File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 994, in run
      time.sleep(0.1)  # busy wait until we receive run command
  KeyboardInterrupt
  </code></pre>
  
  <p>I tried everything I found regarding that error message:</p>
  
  <ul>
  <li>Cleared all breakpoints (<a href="https://stackoverflow.com/a/41353672/940592">recommended here</a> and <a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/205967904-pydev-debugger-is-not-connecting" rel="noreferrer">here</a>)</li>
  <li>Deleted the .idea folder (<a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/205418230-Unable-to-connect-with-the-debugger" rel="noreferrer">recommended here</a> and <a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/205967904-pydev-debugger-is-not-connecting" rel="noreferrer">here</a>)</li>
  <li>Disabled the options <em>add content roots and add source roots to PYTHONPATH</em> (<a href="https://stackoverflow.com/a/45230176/940592">recommended here</a>)</li>
  </ul>
  
  <p>Any ideas?</p>