Pregunta

I'm trying to set breakpoints on a JS file but Chrome doesn't seem to recognize that the page is the same due to a cachebuster on the URL (e.g., &random=123).

How can I convince Chrome that the page is the same regardless of its URL params?

¿Fue útil?

Solución

put the following in your JS where you want a break

debugger;

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top