title: pytorch debugging timeout with PyCharm
body: <p>I have a frustrating problem, where I cannot debug my pytorch code while in Pycharm.<Br>
  While trying to inspect (breakpoint, then print e.g.) the code below, I receive a <code>"Loading time out"</code></p>
  
  <pre class="lang-py prettyprint-override"><code>import torch
  
      tensors = []
      num_tensors = 16
      shape = (1, 3, 512, 512)
      for i in range(num_tensors):
          tensors.append(torch.zeros(shape))
  </code></pre>
  
  <p>I saw this<a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/207752805-Debugging-SLOW-after-updating-to-2016-2" rel="nofollow noreferrer">[1</a>,<a href="https://stackoverflow.com/questions/45016449/pycharm-debugger-instantly-exits-with-139-code">2] </a>posts, set variable loading policy to syncronyous, disabled Qt debugger options, and all the options specified, But I believe there is something basic I'm missing.
  <br><code>pycharm 2019.2.5</code>, happens both in <code>python2</code> and <code>python3</code>.</p>