You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Note: may have been skipped because of "justMyCode" option (default == true).
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: