1 设置IE浏览器。选项->高级->禁用脚本调试(Internet Explorer) 前面钩去掉 2 在要调试的前一行加debugger; 如下: debugger controlLoginVisible(); 相关文章: