开发者

Firebug programmatic breakpoint?

开发者 https://www.devze.com 2023-01-27 18:56 出处:网络
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.

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 p开发者_JAVA技巧db; pdb.set_trace()


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

0

精彩评论

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