vscode-python-test-adapter
vscode-python-test-adapter copied to clipboard
pytestPath setting doesnt work when debugging
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?