Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

189
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda