Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove anonymous debugger from Chrome Dev Tools

A while ago I was working on a webapp and for the purpose of debugging I've added a listener function directly in the console of Chrome Dev Tools and I've included a js debugger keyword in it to have a breakpoint there.

Now I can't get rid of that debugger and whenever I try inspecting the page, click on Select an element in the page to incspect it and I click anywhere on the page to take me to that node in the DOM structure I'm entering the breakpoint and I need to Continue script execution multiple times.

The debugged code looks like this:

enter image description here

I've tried triggering Never pause here option on each possible line, but it just opens a new VMxxxxx file. The breakpoint is not available in the Breakpoints list so I can't remove or uncheck it from there. Do you know how to get rid of it?

like image 526
Marcin Zareba Avatar asked Aug 12 '26 11:08

Marcin Zareba


2 Answers

You can Deactivate breakpoints by Ctrl+F8. This will deactivate all breakpoints in javascript.

like image 119
Manish Parakhiya Avatar answered Aug 14 '26 02:08

Manish Parakhiya


I was having the same issue, i found that one of my browser extentions was throwing the anonymous debugger. I solved the problem by disabling all my extentions, confirming the anonymous debugger issue went away and then reenabled one extention at a time.

like image 41
rhiley Avatar answered Aug 14 '26 02:08

rhiley