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

355
Views
Use webpack with angular4, typescript2, the lines of sourcemaps are not match with source code

all.

I got a confusion about sourcemap of angular4 with webpack.

Using VSCode installing the Chrome Plugin debug my codes.

I defined a method in a component to deal with click event.

When I launch a chrome by debugger mode in VSCode, I can create a breakpoint, but the problem is the lines do not match between sourced codes by sourcemap and original codes in editor tool.

These are screenshot:

Original codes

enter image description here

Sourced codes:

enter image description here

If I create the breakpoint at line:14 or 15, the process cannot be break; but if create at line:16, it can be.

So how can I solve this line not matching problem?

over 4 years ago · Santiago Trujillo
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!