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

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