It's good for debugging; less good for production machines, where it can pose a security threat.
它适合用于调试;不太适合用于生产环境中的机器,它会引发安全威胁。
While some of the errors in this script are fairly obvious from glancing at the code, the code provides a superb example of less-than-useful debugging messages in the Web browser.
虽然第一眼看到代码时,就发现这个脚本中的一些错误十分明显,但是代码在Web浏览器中提供了无用调试信息的极好示例。
Martin Fowler: I'll reap the time back within a day, because I spend so much less time debugging.
马丁:我能在一天之内就把时间补回来,因为花在跟踪调试上的时间大大减少了。
应用推荐