vscode: EPIPE write failure while debugging after upgrading to 1.49

  • VSCode Version: 1.49
  • OS Version: Pop OS 20.04 (Ubuntu)

Steps to Reproduce:

  1. Upgrade to 1.49
  2. Trying to debug

Does this issue occur when all extensions are disabled?: Yes

After upgrading to 1.49, both a Linux Pop OS machine and a Mac OSX machine on my team started having the following error: When attempting to launch the debugger, we would receive a failure to write EPIPE error. The error triggers in the tslib package. In our particular situation, it starts with an attempt to createConnection() with the TypeORM package (which uses node-mssql and tedious). Stepping into that breakpoint trigger the tslib failure and the EPIPE message.

Rolling back to VSCode 1.48 eliminated the problem.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 4
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I think I found the issue! Please try adding “outputCapture”: “std”, in your launch.json as a workaround (may need to change type to pwa-node for it to be seen as valid).

This fixes the issue for me; let me know if it does the same for you.

Awesome, thank you for confirming. I will put in a fix for the recovery release.

Actually "debug.javascript.usePreview": false does resolve the problem on my side.

Oh btw, it didn’t work 😛

Does it make a difference if you:

  • comment out the “preLaunchTask”?
  • add "debug.javascript.usePreview": false as a user setting?

(only one at a time, not both)

Same problem,

I dont have preLaunchTask and the usePreview: false didn’t work

See the solution here https://github.com/microsoft/vscode/issues/106484#issuecomment-691202789

Previous comment

Does it make a difference if you:

  • comment out the “preLaunchTask”?
  • add "debug.javascript.usePreview": false as a user setting?

(only one at a time, not both)