Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda