Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebug programmatic breakpoint?

Is there any way to set a programmatic breakpoint in JavaScript, so that Firebug will stop executing code and I can continue step by step debug inside the Firebug.

Something similar to what is done in python like:

import pdb; pdb.set_trace()
like image 479
Evgenyt Avatar asked Nov 30 '10 08:11

Evgenyt


1 Answers

If I'm understanding you correctly, you can use the debugger keyword.

like image 143
Tyler Avatar answered Nov 17 '22 07:11

Tyler