Forum Discussion
Ioanna5
Apr 10, 2024Copper Contributor
Visual Studio Code for Mac - C# debugger not working
Hello all!
Could you please help me with an issue I’m facing? Unfortunately, after many hours of searching and trying, I haven’t been able to solve this.
I am doing the “Build .NET applications with C# Learning Path” in Microsoft Learn (https://learn.microsoft.com/en-gb/training/paths/build-dotnet-applications-csharp/) and in the “Interactively debug .NET apps with the Visual Studio Code debugger” module, in the “Exercise - Debug with Visual Studio Code” Unit, I can’t get the debugger to work. I have a Mac and Visual Studio Code 1.88.0.
In the second instruction, it says “The first time you open a C# file in Visual Studio Code, you'll receive a prompt to install recommended extensions for C#. If you see this prompt, select the Install button in the prompt.” I don’t see this prompt because the C# extension was already installed.
Then it goes on to the 3rd instruction and says “Visual Studio Code will install the C# extension and show another prompt to add required assets to build and debug your project. Select the Yes button.”
I don’t get that second prompt because, as I mentioned, the C# extension was already installed and it doesn’t mention anywhere how to add the required assets to build and debug the project, if you didn’t do that the first time you installed the C# extension, which apparently I didn’t. Now I can’t follow the exercise because I can’t get my debugger to work and it won’t let me uninstall the C# extension in order to reinstall it.
I would really appreciate some help because I’m really stuck and I don’t know how to solve this and continue with my learning. Please have in mind that I’m a beginner with this, so I would kindly appreciate detailed instructions.
Thank you in advance!
No RepliesBe the first to reply