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

129
Vistas
How to set a monitor on a method exposed by a module?

In general, how would one add a method defined in an ES6 module to the Monitor Function feature of Chrome Devtools? As such a method is not defined in the global scope, nor on the window object, how to target it for monitor()?

Specific to my situation, there is a Vuex mutation called setFoo() defined in mutations.js. This file is imported by a module that is then imported by another module. All this is compiled by Webpack. On localhost I have access to source maps, on the production webserver I do not.

How might one monitor invocations of setFoo() using DevTool's monitor() feature, either with or without a source map?

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