Debugger warning pass -Xfrozen_modules=off

When I start jupyter notebook in a terminal on windows 11 with python 3.11.1 I get a warning message but I have no idea how to pass -Xfrozen_modules=off to python - help requested.

0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.