as you can see in this picture, when open debug mode in notebook, it takes more than 5s to execute shell script

this issue is intruduced in #883
dont know why and maybe I can fix it?
Environment data
- debugpy version: 1.6.2
- OS and version: MacOS
- Python version (& distribution if applicable, e.g. Anaconda): 3.9
- Using VS Code or Visual Studio: terminal
Actual behavior
takes 5s more
Expected behavior
takes a short time
Steps to reproduce:
- debugpy 1.6.3
- open debug in notebook
- execute a shell script