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

433
Vistas
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 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