-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Debugger hangs when debugging pytest tests on gevent based code #18495
Comments
in your launch json do you use |
I am trying to launch debug test from the Test panel. How do I set gevent =
true for that "debug test" configuration? Can you please help with
instructions for this?
…--
Regards,
Radha
On Wed, Feb 9, 2022 at 7:03 PM Karthik Nadig ***@***.***> wrote:
in your launch json do you use gevent = true? see here microsoft/debugpy#515
(comment)
<microsoft/debugpy#515 (comment)>
—
Reply to this email directly, view it on GitHub
<#18495 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC3VJJBS7KM2OEN2EFEZRTU2MFGRANCNFSM5N7D66VA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@sradhakrishna Add a configuration like this:
|
Added configuration here: https://github.com/sradhakrishna/test-nameko/blob/0259b45b4b269fafbb7de699d293ee446bfaae2c/workspace.code-workspace#L20. Is this right? I am still not able to debug code - the debugger is still hanging. For whatever its worth, here's the output of pip freeze: $ pip freeze Am I missing anything? |
That won't work, we don't pick up the debug configuration from the settings. you have to add it to the launch.json file. We have an issue open to load the config for tests from settings. (#17644) |
I've moved launch configurations to launch.json - and am able to debug now! Thanks a lot, @karthiknadig ! Will follow progress on #17644. |
Am closing this issue as resolved. Thanks again! |
Issue Type: Bug
Issue: Debugger hangs when debugging pytest tests on gevent based code
Steps to reproduce:
Expected behavior: Should be able to launch debug sessions from tests pane.
Extension version: 2022.0.1814523869
VS Code version: Code 1.64.0 (Universal) (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:20:17.224Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: