Firebug Error:ReferenceError: debug is not defined
I want break in a javascript function. So on firebug console I've given:
debug(anchor_submit_form);
It's giving single line error:
ReferenceError: debug is not d开发者_开发问答efined
How do I set the breakpoint in a function?
The firebug console is only defined when firebug is running. So, I would do this:
console.log(anchor_submit_form);
Then launch firebug and watch the console output. You can put a break point in the script using the firebug UI.
精彩评论