node.js – Visual Studio 2022 Unknown thread id ‘0’

I’m developing a nodejs web application.

I haven’t had visual studio opened in some months, and I’ve updated from windows 10 to 11 since then, so I’m unsure at what point this problem started to occur.

Whenever I start debugging in Visual Studio 2022 I’m getting this error if I close down the command line window while visual studio is on a break point or on an error.

error 2

When I click OK it takes a few seconds and I will get this error. If I click Stop Now or just wait it will take a little while (about 30 seconds) and the program will exit debugging

error 1

I have tried reinstalling Visual Studio.

I have tried deleting the .vs file

I have tried using a blank project.

Searching any of the errors on google doesn’t give me anything. At All.

The error persists and its incredible annoying to have to wait that long if I forget to continue the debugging before closing down the command line windows

Read more here: Source link