MrT77
MrT77

Reputation: 963

When debugging Javascript in Chrome Devtools, how can I continue after hitting a DOM breakpoint?

I'm debugging a JS code with Chrome Devtools. I set a DOM breakpoint, the code hit it, but I cannot continue (ie, the controls for "next line", "continue", etc. are missing)...I could only run my code again after closing the browser and opening it again...

Upvotes: 2

Views: 2373

Answers (1)

T.J. Crowder
T.J. Crowder

Reputation: 1075437

The controls aren't shown in the DOM window, but you can continue in two ways:

  1. In the window you're debugging, in the center at the top, there should be a small overlay saying "Paused in debugger" with a run icon. Click the run icon.

  2. Switch to the Sources tab, which has the various buttons, and use one of those.

enter image description here

Upvotes: 5

Related Questions