【发布时间】:2016-02-27 12:29:35
【问题描述】:
我目前正在使用 Firebug 调试复杂的 JavaScript 代码。我正在寻找一种方法来停止 JavaScript 执行,就好像它是一个断点一样。
例子:
instructions ...
degugger.breakpoint(); // the execution stops here as if a breakpoint was
// manually set
other instructions ...
【问题讨论】:
标签: javascript debugging firebug breakpoints