Certain vscode extensions do stuff like that. Usually uninstalling and reinstalling the extension works. If that doesn't work disable every other extension. If you can't disable an extension uninstall it. Then check if your extension that was causing the issue is working or not. If that doesn't work then your vscode installation is either broken or your Windows OS has some issues. Stuff like this has happened to me before twice, though not with a Debugger.