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

417
Visualizações
can't insert breakpoint on javascript code - Microsoft Sample app

I am trying to insert a breakpoint on the ajax code found here:

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/models/file-uploads/samples/3.x/SampleApp/Pages/StreamedSingleFileUploadPhysical.cshtml

But I keep getting the error "A breakpoint could not be inserted at this location".

What I've tried so far:

  • Clean build, rebuild everything - in case there was some random syntax issue
  • "script debugging" is enabled.
  • I have an environment variabled ASPNETCORE_ENVIRONMENT=Development
  • Launch browser is true
  • tried to attach VS Pro 2022 to the web app after I start it. I attached to dotnet.exe process.

Nothing so far has worked.

Should I be able to debug this JS code? i just want to see how the client is sending the file stream to the server piece.

Any tips would be appreciated.

about 4 years ago · Juan Pablo Isaza
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