I've looked around, and can't find an answer for my specific question. The closest I could find was this.

I'm trying to reverse engineer some suspicious Javascript, but it repeatedly calls a debugger statement, preventing any meaningful use of breakpoints. The question linked above describes some methods for Chrome, but I was curious if this was possible in Firefox?

  • This should be possible using the FF Remote Protocol. Using the Debugger API you can write a script that listens for onDebuggerStatement events and automatically resumes execution.
    – 0xec
    Jun 9 at 7:13
  • Run it through some kind of AST analyser and remove the debugger statements? Jun 12 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.