有没有办法让谷歌Chrome脚本调试器打破异常?
问题描述:
我想在发生异常时自动中断。
I'd like to automatically break when an exception occurs.
答
在最新的Chrome中,它是可能的。我使用9.0.587.0,在开发人员工具中,左下角的脚本标签是一个图标,表示单击以暂停所有异常。
In newest Chrome it's possible. I use 9.0.587.0 and in developer tools, scripts tab in left bottom corner is an icon that says click to pause on all exceptions.