title: Module not found when debugging
body: <p>I am running a Python client using PyCharm. If I just run it, PyCharm simply calls:</p>
  
  <pre><code>C:\Python27\python.exe E:/faf/client/src
  </code></pre>
  
  <p>and everything is fine.</p>
  
  <p>These are my settings:</p>
  
  <p><a href="https://i.stack.imgur.com/vE75t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vE75t.png" alt="enter image description here"></a></p>
  
  <p>If I want to debug it, PyCharm calls:</p>
  
  <pre><code>C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.2\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 52948 --file E:/faf/client/src
  </code></pre>
  
  <p>and the result is that the modules which are in fact <em>there</em> cannot be included</p>
  
  <pre><code>pydev debugger: process 5092 is connecting
  
  Connected to pydev debugger (build 143.1184)
  Traceback (most recent call last):
    File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.2\helpers\pydev\pydevd.py", line 2407, in &lt;module&gt;
      globals = debugger.run(setup['file'], None, None, is_module)
    File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0.2\helpers\pydev\pydevd.py", line 1798, in run
      launch(file, globals, locals)  # execute the script
    File "E:/faf/client/src\__main__.py", line 29, in &lt;module&gt;
      import config
  ImportError: No module named config
  </code></pre>
  
  <p>What do I have to do to be able to debug this thing?</p>