Shlomi
Shlomi

Reputation: 19

Visual Studio Code- Debugging in c# isn't Starting

I've installed VSC and the extension for c# (powered by OmniSharp). I click on "Start Debugging" and it asks me for my debugging environment, I click on .Net Core and then nothing happens.

Can someone help?

Thanks!

Upvotes: 0

Views: 648

Answers (2)

Rob Streeting
Rob Streeting

Reputation: 1735

I had this same issue, and all I needed to do was restart VSCode to get it working again. I think that OmniSharp was having some issues and restarting VSCode allows it to get back up and running again.

Upvotes: 0

Simon Price
Simon Price

Reputation: 3261

Save your file as a C# file and that should download an OmniSharp package and the .Net core debugger.

Once you have all that you can then press F9 on the line you want and then youll be able to debug as you like enter image description here

Upvotes: 1

Related Questions