-
Notifications
You must be signed in to change notification settings - Fork 297
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 does not work when debugging a Jupyter Notebook Cell #8413
Comments
That setting isn't actually applied during cell debugging. That's from interactive window debugging. We don't currently support just my code on notebook cells. See this issue here: |
Hi Karthik,
Thanks for your response. I have tried this (uncheck this) but it didn't
work to debug into the Xgboost library.
Best,
Bin
…On Wed, Dec 1, 2021 at 12:23 PM Karthik Nadig ***@***.***> wrote:
Have you tried disabling this setting:
[image: image]
<https://user-images.githubusercontent.com/3840081/144308183-a4b78a77-b6d4-4889-8ced-f6b77bcc71d8.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8413 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESIPIWLMXXWOTFSDX36KZDUOZ72ZANCNFSM5JFL63QA>
.
|
Same here, I expected the vscode jupyter "Debug Just My Code" setting to apply to cell debugging. |
Could you please rename that setting or update its description? The name is misleading |
It seems that it supports jupyter cell debugging now. It worked on my end! Don't forget to restart the kernel. |
@6Roy 在设置里,搜索 debug jupyter 可以很容易看到 |
Issue Type: Bug
Following the great feature for VSCode to debug a cell in the Jupyte notebook (https://code.visualstudio.com/docs/datascience/jupyter-notebooks), I was able to run it to step through my code. However, it does not step into XGboost library even though I set the JustMyCode to False as below. The debug Concole was outputint " Frame skipped from debugging during step-in.
Note: may have been skipped because of "justMyCode" option (default == true). Try setting "justMyCode": false in the debug configuration (e.g., launch.json).
"
This is a follow up question of this microsoft/debugpy#795, which has been succesfully resolved by configure the setting properly. Please let me know if additional configuration is required. Thanks in advance.
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Python: Debug Test",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"justMyCode": false
}
]
Extension version: 2021.10.1101450599
VS Code version: Code 1.62.3 (Universal) (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T07:59:13.865Z)
OS version: Darwin x64 20.4.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
The text was updated successfully, but these errors were encountered: