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()
If I'm understanding you correctly, you can use the debugger
keyword.