New to vscode and it seems fine, just that it doesn’t seem to allow debugging into python packages I didn’t write (not under the project folder?), neither does it allow me to add breakpoints to code that wasn’t written by me.
I tried to set the "justMyCode": false configuration flag but it seems not to affect anything.
standard microsoft python and pylint extensions installed
2
Answers
Ok, so I found a (very strange) way to run the debugger so that it works, apparently there is a difference between the debug code button that is part of the dropdown that also allows for a regular run and the run button that is next to the debug configuration button, the first doesn't seem to relate the IDE to the debug configuration json and thus disregards the "justmycode": false flag. Not sure why this is the case (perhaps they are related to different python extensions).
You have to configure the virtualenv, with
Shift + Ctrl + P
and writePython: Select interpreter
and select the environment with the package installed. The problem could be that you ran the code with a different environment without the package installed.