有没有办法让谷歌Chrome脚本调试器打破异常? [英] Is there a way to get the google chrome script debugger to break on exception?

查看:90
本文介绍了有没有办法让谷歌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.

这篇关于有没有办法让谷歌Chrome脚本调试器打破异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆