C
C#8mo ago
iker

What is this command doing in Visual Studio Code?

have installed the C# extension in Visual Studio Code, and upon running my code without debugging using the button located at the top right, the following command was executed: PS C:\Users\HP\projects\c#> & 'c:\Users\HP.vscode\extensions\ms-dotnettools.csharp-2.22.5-win32-x64.debugger\x86_64\vsdbg.exe' '--interpreter=vscode' '--connection=c42726d550bb4815a99c6c7cf64b5843' This seems to be running a debugger, but why? I'm only running my code. Shouldn't It use a command like "dotnet run" or something similar to just execute it? When I run it in this mode, the code does not stop at breakpoints, so why is it using a debugger if I'm not debugging?
2 Replies
OkOk
OkOk8mo ago
I am assuming that vsdbg.exe is not related to the dotnet debugging tools It might just be some tool that visual studio uses when people want to run different things, and that process will either start the real dotnet debugger or just run the dotnet project without debugging
iker
ikerOP8mo ago
vsdbg.exe is located in the C# extension folder in VS Code.
Want results from more Discord servers?
Add your server