Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

415
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!