Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Inspector - Ignore version string when debugging JavaScript

  • No replies
  • 1 has this problem
  • 1 view
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.