opkdad.blogg.se

Visual studio code virtualenv
Visual studio code virtualenv









visual studio code virtualenv

It was becoming clear that this could be some kind of path or file location issue. I then realized that my python script file was located inside of my virtual environment directory. Each time the breakpoint was recognized and execution paused. I tried selecting different interpreters on my machine located in various other older virtual environment setups. The breakpoint was recognized and execution paused for inspection! What? Now I was intrigued. On a whim I decided to select a different interpreter (the base Anaconda interpreter). I double checked my interpreter selection and tried again. I was expecting my breakpoint to be recognized and for execution to break for inspection, but the script continue to run to completion without ever breaking.

visual studio code virtualenv

I continued, and set a breakpoint as indicated in the code above and started debugging in Python.











Visual studio code virtualenv