debug has stopped working for jupyter notebook
See original GitHub issueEnvironment data
- VS Code version: 1.64.2
- Jupyter Extension version (available under the Extensions sidebar): v2022.1.1301854968
- Python Extension version (available under the Extensions sidebar): v2022.0.1814523869
- OS (Windows | Mac | Linux distro) and version: macOS 12.2.1
- Python and/or Anaconda version: python 3.8.12
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): pyenv
- Jupyter server running: Local | Remote
Expected behaviour
when I use step into
or step over
it would do this action
Actual behaviour
nothing happens, code execution freezes, the only way to move forward is to restart the kernel
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- XXX
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Updating preferred kernel for remote notebook 4c421434-c9a3-479f-a864-d558ec7d533f
Info 14:21:32: Storing Preferred remote kernel for ~/dev/playground/REDACTED.ipynb is 4c421434-c9a3-479f-a864-d558ec7d533f
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Debugger in Jupyter Notebook does not work properly when I ...
When I use Jupyter in Pyhcarm, they support debugging function. In particular, I can do debug cell by cell using Alt + Shift...
Read more >Jupyter Notebook debugging not working on VS Code
As a workaround to not being able to use that useful mode, I tried the standard debug mode of VSCode for Jupyter Notebooks...
Read more >`breakpoint` in a script does not invoke debugger in notebook
In python notebooks, I have used breakpoint in scripts to invoke the debugger within a notebook. However, something seems to have changed, ...
Read more >Debugging Jupyter Notebooks - GitHub Pages
Fixing this error (option 2): Another way to fix this error is to use the “Cell” menu. Click on the cell that is...
Read more >Troubleshooting — jupyter_contrib_nbextensions 0.5.0 ...
If you have a large notebook, extensions can stop working after the notebook ... jupyter notebook --debug ... jupyter contrib nbextension uninstall --system....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pip install debugpy==1.6.0
Don’t know why debugpy above 1.6.0 doesn’t work in jupyter notebook but lower version no problem.
Sorry, many changes since this issue