8

I'm injecting a <script> tag into a local version of a site's DOM, and it has some really random and annoying debugger; statements in other <script> tags. I was wondering if it's possible to just rip all these out? I'd do a text replace on the DOM but there must be a better way to do it.

1
  • If it's your code then just delete all the debuggers. If you are debugging in chrome, if you hold click on the pause/play button on the script tab then you'll see an option to continue the execution without stopping. Maybe that can help Commented Jun 3, 2016 at 9:02

2 Answers 2

11

In Chrome there is an option to disable all breakpoints. Obviously this only affects your own browser, but might be enough?

Ctrl+F8

Deactivate breakpoints

Sign up to request clarification or add additional context in comments.

Comments

3

Go to debugger » Breakpoints » right click on it » Deactivate breakpoints

enter image description here

2 Comments

Thanks, that's really helpful! I'll accept it ASAP, can't right now due to internet issues
@RhysO ... Vote Up

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.