-
Notifications
You must be signed in to change notification settings - Fork 296
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
Cannot debug #14958
Comments
I've done some further looking into this after running into the problem myself and it appears to be related to ipykernel v6.28. I can successfully run the debugger when using python 3.11.7 & ipykernel 6.26, and when using python 3.12.1 & ipykernel 6.28, but NOT python 6.11.7 & ipykernel 6.28. VSCode version:
Jupyter Extension version: The only seemingly relevant change I could find in ipykernel 6.28 is discussed here: ipython/ipykernel#1184 Looks to be some further discussion around the change (in relation to jupyter & tornado apps which I think vscode is?) here: jupyter/jupyter_core#382 |
@nataziel @szmcdull Can you debug the same code using the debugger in Jupyter Lab @nataziel Thanks for the analysis, please let me know if this repros in JupyterLab as well. |
@DonJayamanne yes i can debug in jupyterlab |
@DonJayamanne yep I can confirm that debugging worked fine for me with all previously metioned combinations in JupyterLab, but still fails in VSCode with |
I can also confirm there seems to be a problem with the ipykernel hanging with debug when i use anything above ipykernel 6.26 ... i am using python 3.10.10 ... i had to downgrade to 6.25 and it works again |
@QuantFreedom1022 @nataziel @szmcdull
|
@DonJayamanne I just checked with python 3.10.10 with the package versions you suggested and the debug seems to be working now |
Is most likely an issue with the ipykernel package |
Applies To
What happened?
Suddenly debugging does not work anymore. All notebooks, all cells. It was working before. And I didn't do anything.
It cannot hit even the first line. Just counting time but nothing starts.
VS Code Version
Version: 1.85.1 (user setup) Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:49:37.021Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045
Jupyter Extension Version
Jupyter v2023.11.1003402403
Jupyter logs
Coding Language and Runtime Version
Python 3.10.11
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: