Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytestPath setting doesnt work when debugging #314

Open
icyitscold opened this issue Sep 27, 2024 · 0 comments
Open

pytestPath setting doesnt work when debugging #314

icyitscold opened this issue Sep 27, 2024 · 0 comments

Comments

@icyitscold
Copy link

I have a customized pytestPath script with sets up some system paths that are necessary to run tests in my repo. When I use the "python.testing.pytestPath": "${workspaceFolder}/bin/pytest"` setting, running a test works fine but when I debug test, you can see the debug output doesnt use the configured path:

cd /Users/***/app ; /usr/bin/env /Users/***/.pyenv/versions/app/bin/python /Users/***/.vscode/extensions/ms-python.debugpy-2024.10.0-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 54591 -- -m pytest  /Users/***/app/tests/forms/test_example.py::TestForm::test_example_form 

I've been playing with settings and launch configs for a couple of hours now, but it seems like an extension code change is needed to get test debugging working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant