-
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
Unable to restart test debugger #20520
Comments
Also relevant - debug console traceback:
I consistently get this error in the Remote Extension Host logs:
When hitting restart, I see this get logged to Python:
|
Hello! We are currently working on a fix for this- I apologies for the lack of response while we have been doing so. Thanks |
Hello! We have just finished our testing rewrite and are beginning the roll out to users. If you are able, it would be very helpful to know if your issue still exists on the rewrite, I have tried this myself with the rewrite and it has worked! To try it yourself, you need to be on the most recent release of the Python extension and add this setting to your users You can confirm you have the rewrite enabled by setting Let me know if the rewrite fixes your issue. Thanks! |
Hey @eleanorjboyd, this seems to have resolved the issue after I got onto the pre-release version and did a reload + cleared python cache. Thanks! |
Great! Thanks for testing it out- happy coding! |
Type: Bug
Behaviour
Expected vs. Actual
When debugging unittests, I'd like to be able to restart the debugger.
Steps to reproduce:
test.py
with the following content:Python: Configure Tests
to useunittest
at.
withtest*.py
.Seems like #19030 and #17636 could be related.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2022.20.2
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.79.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: