title: VSCode python debug: "No module named xx" when using module attribute
body: <p><strong>My Python project folder structure is as follow</strong>:</p>
  
  <pre><code>.python_practice
  |--lib
      |--lib.py
      |--__init__.py
  |--practice1
      |--my_module.py
      |--__init__.py
  |--__init__.py
  </code></pre>
  
  <hr>
  
  <p><strong>My launch configuration is</strong></p>
  
  <pre><code>{
      "name": "Python: Module",
      "type": "python",
      "request": "launch",
      "module": "practice1.my_module",
      "console": "integratedTerminal"
   },
  </code></pre>
  
  <hr>
  
  <p><strong>In my_module.py</strong></p>
  
  <pre><code>from lib.lib import util_func
  </code></pre>
  
  <p>When I try to debug using VScode I get an error: <code>"No module named practice1.my_module"</code></p>
  
  <p>But when I run it with the following command it works fine</p>
  
  <pre><code>python -m practice1.my_module
  </code></pre>
  
  <p>How could I debug my code so that the relative import work?</p>
  
  <p>Any help will be appreciated, thank you.</p>