-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Allow to launch the debugger with options for e.g. justMyCode #811
Comments
Note that currently when I try to step into the statement "import tornado", I get the following WS messages (idle/busy removed for clarity):
Some comments: There is a console output related to "justMyCode". The debugger seems very confused about what it should debug and not. I.e. I am not able to step into the tornado code during its import, but I am stepping into the ipykernel internals.. |
I guess you have set If you set it to False, indeed step by step debugging may drive you crazy going into the ipykernel source. When I have used it, I have use the kernel source panel, opened the files I wanted to look at, set some breakpoints there, and let the debugger go from breakpoint to breakpoint. |
To be sure if it is relate to that new setting, you could try to downgrade ipykernel and see if the behavior is reproduced. |
I haven't touched that setting, and I confirmed that none of my config files sets this value. |
Which version are you using? Can you try with 6.9.0 and see if you face the same? |
I was on master (actually PR branch #875) trying to debug something else. I'll test 6.9.0, and also see if I can capture this behavior in a unit test. |
@echarles I think the issue was that I didn't have |
|
When testing with ipykernel 6.9.0:
When testing on #875 (with no config of
|
Is it possible in Jupyterlab to set debug_just_my_code to false somehow so I can debug code inside a library. If no would that be addressed? |
For jupyterlab/jupyterlab#11566, there is a need to launch the debugger with configuration options, like
justMyCode
documented on https://github.com/microsoft/debugpy/wiki/Debug-configuration-settingsI have done a quick scan on how to achieve this, but have not find a way.
Any pointer to implement this feature will be useful.
The text was updated successfully, but these errors were encountered: