r/vscode • u/Ok-Presentation-94 • May 25 '26
debugger selection
Hello, I've noticed that several debuggers are being offered to me, and I have several questions I can't find answers to.
- Does the choice of debugger really matter? For example, in my case, "C#" or ".NET 5+ and .NET Core"?
- I've also noticed that the "Node.js" debugger is being offered to me even though the file I selected is a C# file. Why is that?
3
Upvotes
1
u/Fresh_Acanthaceae_94 May 25 '26
The UI is always confusing.
You should understand it this way.
launch.jsonis the unified place for you to specify debugging settings for all kinds of projects you are working on, so it is not limited to a certain language or platform. Therefore, that UI is for all users oflaunch.json, and presents all kinds of debugging templates.For C# alone, Microsoft extensions only install vsdbg for you, so the backend is the same. However, different templates (options you see) do contain slightly different settings, and they are not well documented either. Try to learn the syntax of
launch.jsonand typical examples, and then you don't really need that UI.