开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜