-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Test: Notebook/Jupyter debugging #127362
Comments
Are you finished @alexdima? |
@roblourens I just realized that I tested on macOS, but I used a dev container as I didn't really know how to set things up on macOS . So I tested the UI part on macOS, and the debugger part on Linux, which was probably not what I was supposed to do. 🤦 . I can put aside tomorrow some more time to try to set things up on macOS, sorry about that. |
There is probably not a significant difference between mac and linux. So you can call it good if you want. We got lots of feedback. Also I've mainly tested on mac. |
Refs: #126431, microsoft/vscode-jupyter#6207, microsoft/vscode-jupyter#6376, microsoft/vscode-jupyter#6215
Note: Please file bugs here
Complexity: 5
Authors: @roblourens, @DavidKutu, @IanMatthewHuff, @rchiodo
Create Issue
Setup
python3
orpython
Mac/Linux:
Windows:
Hit a breakpoint
jupyter-dbg
"jupyter.experimental.debugging": true
venv
kernel where you installed ipykernelShould look something like this
If you don't see that entry, you may have to reload the window
Click the Debug button in the notebook toolbar to start a debug session
If the button doesn't appear, switch to another notebook and switch back, this is a known issue
The breakpoint margin should appear
If you set a breakpoint and run a cell, you should hit that breakpoint
More testing
Known issues
onDidChangeActiveNotebookEditor
. If it doesn't appear, switch to another notebook and switch back.ipykernel_XXXX
folders will appear onC:\Users\<user>\AppData\Local\Temp
. Those should be deleted by the extension.The text was updated successfully, but these errors were encountered: