I am connected to a remote server via the Remote - SSH extension on VSCode. When I am using an ipynb jupyter notebook file, and I try to Debug Cell the following simple cell,
from multiprocessing import Pool
pool = Pool(4)
I get the following error popup:

Invalid message: Session is already initialized
and simultaneously, a few of these messages on the bottom right of the VSCode window:

Failed to launch debugger for child process 16803
I believe this error is due to not being able to attach the debugger to the child processes, but I havent been able to resolve the issue. I tried setting "subProcess": true, in my launch.json, but that did not resolve anything. This error does not occur if I debug using 'Run and Debug' section of VSCode, nor does it happen if I use the pseudo notebook feature within .py files using #%% to create cells. It only happens in actual .ipynb files when debugging a cell.
Any suggestions are appreciated!