Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
You don't have an extension for debugging C#, Should we find a C# extension in the Marketplace?

I'm trying to debug a C# script using VSCode. but when I hit F5 it shows

Error message while trying to debug

But I do have the C# extension installed in VSCode

C# Extension on Marketplace

About my VSCode

Version: 1.56.2 (system setup)
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:13:13.157Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Windows_NT x64 10.0.19042

I also have Dotnet installed on my machine

dotnet --version
5.0.203

Previously, VSCode used to resolve all the necessary dependencies and create the necessary files for debugging a C# script. Maybe the latest update has some issues?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

If you have issues with that I suggest going to 'view' and then press command pallet or press Ctrl+Shift+P and then search 'generate assets for build and debug' and if you want it to open up a new window and execute your code instead of it running in the terminal: Go open .vscode Then select launch.json and then go to where it says console and write this instead:

"console": "externalTerminal",
over 4 years ago · Santiago Trujillo Report

0

I encountered the same issue. Projects always used to bolt up and run instantly in the past.

After some annoyance and searching around, I found a workaround. In the command palette, you can find the following command:

Unity Attach Debugger command

This revealed that in my case there were multiple unity processes running (even though I only had a single editor open). This may not be the case for you.

Unity Debugger select process

The correct one for me happened to be the second process on the list. Then, unity opened the following window, which I had never seen before

Unity Editor allow debugging

As far as I can tell, there have been updates that disable debugging by default. In the image below you will find the setting to enable/disable this.

Unity editor preference code optimization

Note: This can also be done using the shortcut at the bottom right hand corner of your editor:

Unity Editor debug mode shortcut

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!