在javascript代码里面有个语句可以让浏览器执行到这里的时候触发断点,这个命令就是 debugger 很好用 转载于:https://www.cnblogs.com/imhurley/p/3824399.html