OS: Ubuntu18.04
Build Version: 20220228.3
Regression: Not a Regression
Repro Steps:
- Create a JavaScript project in VSCode.
- Debug with "Attach to Node Functions“.
- Check whether succeeds to debug.
Expect:
Succeed to debug.
Actual:
The debugging disconnects automatically.

More Info:
- This issue also reproduces for TypeScript project.
- This issue doesn't reproduce for Python, PowerShell and .NET projects.
- This issue doesn't reproduce on Windows and Mac.