title: Configure Python Path in Visual Studio Code with venv running from bash on Windows
body: <p>I have a virtual environment set up inside bash for Windows (Ubuntu) and VS Code installed (Windows). The Python project runs well inside the venv in bash but I would like to now debug it through Visual Code.</p>
  
  <p>I'm trying to set the python.pythonPath as follows inside settings.json</p>
  
  <pre><code>{
      "python.pythonPath": "C:\\repos\\myrepo\\venv\\bin\\python"
  }
  </code></pre>
  
  <p>The error returned is "Please validate the path ..."</p>
  
  <p>Note that through bash for Windows, the filesystem is accessible through /mnt/c/</p>
  
  <p>As for the auto-detection of Python, it only lists the python.exe installed on the windows filesystem (which is of no use to me).</p>
  
  <p><a href="https://code.visualstudio.com/docs/python/environments" rel="nofollow noreferrer">https://code.visualstudio.com/docs/python/environments</a> explains that doing this should be sufficient but doesn't seem to work. </p>