• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Pruebas Online
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

358
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.

almost 3 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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda