跳到主要内容

这么进行代码调试?

很简单,只需要在代码编辑器中,你的代码中添加 debugger 关键字即可。

function add(a, b) {
debugger;
return a + b;
}