microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.31k stars 293 forks source link

Debugging Jupyter Notebook cells: "Ipykernel setup required for this feature", but ipykernel is installed #16257

Open marcopist opened 3 days ago

marcopist commented 3 days ago

Applies To

What happened?

Steps:

Expectation

Result

Image

Other notes

ipykernel is installed in the virtual environment & kernel used by VS Code.

If I reload the VS Code window the debugger sometimes launches, but only once.

VS Code Version

1.93.1

Jupyter Extension Version

v2024.8.1

Jupyter logs

10:03:27.181 [info] Starting debugging with mode 1
10:03:27.203 [info] Ipykernel check failed: Unknown
10:04:44.070 [info] Starting debugging with mode 1
10:04:44.092 [info] Ipykernel check failed: Unknown

Coding Language and Runtime Version

Python v 3.10

Language Extension Version (if applicable)

v2024.14.1

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Remote