in some cases, a pytest module will not load when launched with pytest, but will when launched just with py. In theses cases is is very difficult to debug to see what is going on so that your pytest modules will even load in a pytest runner like vs code or pytest.
In visual studio code, this debug configuration will allow the launch of vs code to debug a module in pytest. You only have to use this in weird circumstances, hopefully never once I document how to avoid the problem in the first place (i'll amend this issue).
in some cases, a pytest module will not load when launched with
pytest,
but will when launched just withpy
. In theses cases is is very difficult to debug to see what is going on so that your pytest modules will even load in a pytest runner like vs code orpytest
.In visual studio code, this debug configuration will allow the launch of vs code to debug a module in pytest. You only have to use this in weird circumstances, hopefully never once I document how to avoid the problem in the first place (i'll amend this issue).