-
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
"justMyCode": false is not respected at debug-test configurations #24726
Comments
I also have found this recently.
But now, no matter what combination I do of launch.json and the justMyCode setting in the Python Debugger extension GUI settings I am not able to debug code within imported modules. |
What version of python are you using? |
I'm using |
I'm also seeing this. It used to work fine.
I have no Python settings in my user settings. Python version: 3.13.1 All I'm doing is selecting the testing pane on the left, finding a test, then clicking the "debug" test button. Breakpoints are hit, but I just can't step in to code that is not mine. @eleanorjboyd I'm internal to MS, so feel free to reach out for debugging steps. My alias is dalemyers. |
does it make a difference setting "type" to "debugpy"? I tried this myself and it worked |
@dalemyers, thanks for the detailed description. For you config with the debug test, what is the purpose of setting this: I gave your config a try on my machine and it worked. What OS are you using and are you connected to a remote? Also if you set your logs to info, do you see this in your python logs |
I have no idea... It's copied from somewhere. Removing it didn't change anything.
macOS 15.2
No. Entirely local.
Yes. |
Dupe of #24439 ? |
Now it started working again, without any changes on my side. So if anyone has the same problem, try updating. |
Type: Bug
I pretty sure that I was able to step out of my code, but recently I found that I unable to debug code that is not in my project.
Seems that
"justMyCode": false
is not respected atdebug-test
configurationsVS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Linux x64 6.11.8-1-default
Modes:
System Info
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Extensions (61)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: