To replicate, set
“jupyter.debugJustMyCode”: false
on a remote server, set breakpoint on external code (e.g., numpy), and try to debug a cell in a jupyter notebook on the remote server. It hangs indefinitely.
(Note this works as expected with VS code 1.96.4, but not in the cursor IDE. It also seems to work in cursor locally. So something wrong at the intersection of jupyter.debugJustMyCode and remote ssh I guess. I have updated everything and every extension as far as I know in both cases).