开发者

Firebug Error:ReferenceError: debug is not defined

开发者 https://www.devze.com 2023-02-17 16:08 出处:网络
I want break in a javascript function. So on firebug console I\'ve given: debug(anchor_submit_form); It\'s giving single line error:

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

精彩评论

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