Environment data
- debugpy version: 1.5.1
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 3.10
- Using VS Code or Visual Studio: VS code
Actual behavior
Create a notebook with cell with a number of lines:

Put a breakpoint on the first line
Debug the cell
Step into
Step into gets stuck on the first line.
Run by line (another way we support debugging)

also behaves strangely. It can't step through the function.
Expected behavior
Stepping works
@fabioz I believe this was caused by your recent change to IPython? Do we need a newer version of Debugpy to handle that change?