VS Code Debug Cell button disappears arbitrarily in Jupyter Notebook view
15:19 18 Jun 2022

I am developing a Python script in a Jupyter Notebook (ipynb file) in Visual Studio Code.

Arbitrarily, the "Debug Cell" run option disappears and I have not found a way yet to debug a specific notebook cell in a different way. I am just able to run the cell, but there is no way to debug the cell.

No

According to the VS Code documentation on "Jupyter Notebooks in VS Code - Debug a Jupyter Notebook" there should be this arrow visible, which allows to click on "Debug Cell".

Debug Cell image from VS Code Documentation

After restarting VS Code the Debug option is usually again visible.

What am I doing wrong that this "Debug Cell" option becomes invisible for me or is this probably a bug? Has anyone else noticed this issue yet?

python visual-studio-code debugging jupyter-notebook