-
Notifications
You must be signed in to change notification settings - Fork 28
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
How to make sure debugpy is used for debugging tests? #112
Comments
I have found a workaround for now, shown in Also, here's some possibly useful information for debugging this issue. When I introduce the If I don't have that I haven't tried all of that over again while explicitly opting out of the new test adapter, however. Workaround:
|
@paulacamargo25, do you have any thoughts on this and if the workaround is required? |
I know it's just my machine, but I tried again with the latest extension version: debugging tests specifically setting the
|
It's not, I have the same issue. Your workaround helps a lot. Happy to help investigate/debug this if anyone has specific instructions. |
Since testing is handled on the python extension side, a change needs to be made to start using the python debugger extension. |
This issue was already solved in insiders, could you try testing again with the last pre-release version on the python extension? |
closed in : #174 |
@paulacamargo25 do you have verification steps for this? |
This is working for me in Python Debugger v2024.2.0. Thanks! |
@brettcannon said in microsoft/vscode-python#21748 (comment) that pressing the “debug test” button in the Python extension’s test view should use this extension if available.
I tried to set the
justMyCode
setting totrue
without a launch configuration to check it out. My breakpoint in library code wasn’t respected. That makes me think that either the Python extension used its own debugger or thejustMyCode
setting doesn’t work reliably.Is there a way to configure or even see which debugger extension provides the functionality to see which one it is?
The text was updated successfully, but these errors were encountered: