vscode: Node process in the terminal not killed after closing VsCode

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

  • VS Code Version: 1.76.1 (Universal)
  • OS Version: Darwin arm64 22.3.0

Steps to Reproduce:

  1. Run a node process like npm run dev.
  2. Close the vs code
  3. Reopen vs code and when you run npm run dev again you’ll get the error port already in use.

I was using the latest vs code insiders and started facing this issue then I completely uninstalled that, installed a stable version but still this issue is not resolved.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I have been hitting something which I think is similar while testing a fix for a different remote-ssh issue. The remote-ssh issue I am working on has been ongoing for a bit due to a previous electron update. I will stay up to date with this thread to confirm if it is or not. Thanks!

@eleanorjboyd @roblourens maybe related to the node.js issues you’ve been working on