Make sure you install the C# Dev Kit extension, the C# extension alone won't do it.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
It's been a hot minute since I've used vscode, but you want to invoke the command pallet (Ctrl+P I think) and create a build profile/task/something. You then want to do the same for a debug profile. This will create two files under .vscode - you will need to edit the debug one to add the build task as a dependency for the debug profile.
You could also try running dotnet build
in the terminal before doing what you are doing already.
Also vscodium won't work, the debugging plugin is closed source and is only available for vscode.
Have you tried setting a breakpoint and seeing if it hits?
Assuming the app you are debugging is just a Console.WriteLine("Hello World");
and no breakpoints are set, the app will execute, output hello world, and terminate. Which means you wouldn't see anything happen in VS Code.
If you are super new to all this, I would suggest you look for videos/articles on how to debug using visual studio code as they may provide some insights or concepts you may not already know.
[This comment has been deleted by an automated system]
Omnisharp was a pain to get working properly.
It's not on Fedora or EL based distro