Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Firefox Inspector - Ignore version string when debugging JavaScript

  • Žiadne odpovede
  • 1 má tento problém
  • 1 zobrazenie
more options

When using Firefox inspector to debug JavaScript, if the version string of the file (eg `<somefile>.js?v=12345`) changes by the server, Firefox Inspector assumes that it is a new source file and thus clears any breakpoints for the file on reload.

Is there a way to disable this such that the Inspector assumes it is the same file?

There are cases where the server actively changes the version on the fly and thus makes debugging very tricky.

When using Firefox inspector to debug JavaScript, if the version string of the file (eg `<somefile>.js?v=12345`) changes by the server, Firefox Inspector assumes that it is a new source file and thus clears any breakpoints for the file on reload. Is there a way to disable this such that the Inspector assumes it is the same file? There are cases where the server actively changes the version on the fly and thus makes debugging very tricky.