js debugger

可以在js文件中添加debugger,页面打开F12会进入断点调试。

console.log(item);
debugger;

原文地址:https://www.cnblogs.com/21heshang/p/7093464.html