'Conda stopped working with the debug feature in visual studio code for no apparent reason
To note:
- Pressing F5 (start debugging) correctly activates the conda environment
- The environment of the IDE is indeed the desired conda environment. Python 3.9.7 ('conda environment name': conda)
- The conda environment works if done through the terminal instead of the F5 debugging feature
After the environment is activated and I press F5 nothing happens and nothing is logged to the visual studio code logs. It does not work with any conda environment I have including 'base'.
This is the only thing that happens when I press F5:
Starts debugging, as expected.
One / two seconds later:
If I change the code interpreter to just Python 3.9.7 the code does in fact run. And again, if I run the conda enviroment THROUGH the terminal instead of F5 (and giving up on debugging, which I need) the conda enviroment also works.
To reiterate, no debug logs in Visual Studio Code, including files.
Any idea on how to tackle this? Been stuck for a while.
Machine is an ubuntu 20.04
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


