You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that WMIC is indeed deprecated quite a while back, and they must be removing it from very new builds of windows.
Hmm. It should only be falling back to using wmic if it can't find PowerShell (either powershell.exe or pwsh.exe)
Ah, I see where it's going wrong. Yeah, that's a bug.
If you are brave, and want to see if you can make a quick fix and unblock that, you can attempt the following.
open the file C:\Users\[YOURUSERNAME]\.vscode\extensions\ms-vscode.cpptools-1.22.11-win32-x64\dist\src\main.js
and replace the findPowerShell() function (around line 88628) with the following and then restart vscode see if that fixes it quickly. (Back up the main.js file first!)
The function is incorrectly returning on the first time it throws, and it really shouldn't be.
Environment
Cannot attach to remote executable with debugger, get this :
Bug Summary and Steps to Reproduce
Bug Summary:
Steps to reproduce:
1> Add attachment configuration to launch.json
2> Attempt to attach
3> Fail
Debugger Configurations
Debugger Logs
Other Extensions
ClangD
OculusDebugger
Perforce
C#
Python
Pylance
PythonDebugger
UnrealEnginePython
Additional Information
No response
The text was updated successfully, but these errors were encountered: