Description
Environment data
VS Code version: 1.20.1
Python Extension version: 2018.1
Python Version: 3.6.3
OS and version: Windows 7 Enterprise
Actual behavior
After starting debugging (using default Python configuration template), I get this error:
- Debug console:
Error: spawn $ {workspaceFolder}\.env\Scripts\ python.exe ENOENT
- Alert message:
Failed to launch the Python Process, please validate the path $ {workspaceFolder}\.env\Scripts\python.exe
After starting debugging, but using "Python: Terminal (integrated)" configuration template, I get the error below and the debug feature stops working (it's not possible to debug again unless restart VSCode):
C:\{project-path}>cd c:\{project-path} && cmd /C "set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && ${workspaceFolder}.virtualenv\Scripts\python.exe C:\Users\{username}\.vscode\extensions\ms-python.python-2018.1.0\pythonFiles\PythonTools\visualstudio_py_launcher.py c:\{project-path} 60668 34806ad9-833a-4524-8cd6-18ca4aa74f14 DUMMYVALUE c:\{project-path}\startfile.py
"The system cannot find the path specified."
This issue occurs after VSCode's upgrade to 1.20.x version.
ps .: ".env" is my virtualenv directory.
Expected behavior
debugging normally
Steps to reproduce:
- Open VSCode
- Open folder ou workspace
- Click in Start Debugging button or Debug>Start Debugging menu or type [F5].