I tried to use Visual Studio Code a few times. One time, I encountered an error related to OmniSharp, though I don’t remember the exact details. However, Python worked fine, for example. Then, I reinstalled Arch, and now I’ve decided to try using Visual Studio Code again because I need it to learn programming. Unfortunately, I just can’t make it work. When I start debugging, nothing happens—no errors, nothing…
I have installed everything needed(.net-sdk, mono). However, the problem is that I just can’t work with it properly. I am unable to run the debugger. When I press F5 and select a debugger, nothing happens. I managed to run a ‘hello world’ using the ‘dotnet run’ command, but that’s all. I have no idea how to fix it, and I can’t find any information about my issue.
If you get “hello world” after dotnet run your compiler and toolchain were installed correctly.
Make sure you open the right console when debugging C# command line applications (there’s a console for debug output and there’s a console for terminal output).
Without a screenshot or screen recording I can’t tell you exactly what you’re doing wrong, but I believe you may be misunderstanding the UI in some way.
Check out Microsoft’s guide if you’re stuck: https://code.visualstudio.com/docs/csharp/debugging