// 实现浏览器中打开F12(开发者工具)显示“已在调试程序中暂停” function aa(){ debugger; // window.location.top('about:blank') window.location.href='about:blank'; } aa();