Open chaudry-786 opened 1 year ago
When I go past the line with "assert"
by doing this you get out of "my code". After this line where error is thrown out of your code, it is catched by the pytest framework.
{ justMyCode = true },
you want DAP to handle your code only.
So they conflict by definition?
When I go past the line with "assert"
by doing this you get out of "my code". After this line where error is thrown out of your code, it is catched by the pytest framework.
{ justMyCode = true },
you want DAP to handle your code only.
So they conflict by definition?
I am inclined to agree with @chaudry-786 here in that the behavior was unexpected for me too. If justMyCode
is set to true
, I would expect the debugger to not put me into pytest, since pytest is library code, not my code. I'd expect to just have the behavior of the test passing or failing with the Note: may have been skipped because of "justMyCode" option (default == true).
message displayed.
Hello, my config is bare minimum and I only want my code debugged.
Take this test for example:
When I go past the line with "assert", then file "~/.local/share/nvim/lazy/neotest-python/neotest_python/pytest.py" and function "pytest_runtest_makereport" opens. I just want to debug my code. Interestingly if I try to "step in" at "json.dumps(dic)", I correctly get this message: