title: Can't get VSCode/Python debugger to find my project modules
body: <p>I have a project and am trying to debug my <code>main.py</code>. I am really confused why I am getting the following error from the imports at the top of my file (only) when running the debugger:</p>
  
  <pre><code>Exception has occurred: ModuleNotFoundError
  No module named 'bbb'
    File "/Users/maxepstein/myproject/bbb/train/__main__.py", line 8, in &lt;module&gt;
      from bbb.mysubfolder.myfile import myfunction
  </code></pre>
  
  <p>My project folder structure, as shown by these print statements (as shown by the debugger) confirms my 'bbb' module exists, and has an __init__.py:</p>
  
  <pre><code>import os
  print(os.getcwd())
  print(os.listdir())
  print(os.listdir('bbb'))
  
  /Users/maxepstein/myproject
  ['requirements.txt', 'bbb', 'resources', '__init__.py', 'readme.md', 'results', '.gitignore', '.git', '.vscode', 'bbenv']
  ['config', 'tests', '__init__.py', 'utils', 'predict', 'train']
  </code></pre>
  
  <p>I'm trying to debug as "debug current file - integrated terminal", below is the applicable debug settings from my debug settings.json. After searching online, I really thought adding <code>"cwd": "/Users/maxepstein/myproject"</code> below would be my solution but it hasn't helped.</p>
  
  <pre><code>"version": "0.2.0",
  "configurations": [
      {
          "name": "Python: Current File (Integrated Terminal)",
          "type": "python",
          "request": "launch",
          "program": "${file}",
          "console": "integratedTerminal",
          "cwd": "/Users/maxepstein/myproject"
      }
  </code></pre>