3 ms·
Ask HN: Debugging JavaScript
I have been debugging JavasScript so far using:
- A sprinkling of assert() and log () statements through my code
- Firebug (but since the new versions of FF keeps giving me problems)
Recently I have been working mostly in Chrome, while developing and I find their inspector of limited use.
Is there a better way? What are HN members using?
- simplegeek 17y agoI've found Venkman quite reasonable: www.mozilla.org/projects/venkman.
- yannis 17y agoThanks I will give it a try.
- gtani 17y agohttp://www.alistapart.com/articles/advanced-debugging-with-javascript/ http://www.alistapart.com/articles/advanced-debugging-with-j... compares IE8, firebug, dragonfly. I think i'll need to familiarize with IE 8 Dev Tools. Opera, not sure about http://forums.dpreview.com/forums/read.asp?forum=1004&message=31679454 http://forums.dpreview.com/forums/read.asp?forum=1004&me...
- defied 17y agoI am using: - Firebug for FireFox - Microsoft Visual Web Developer 2008 for IE (6+7+8) - Dragonfly for Opera
- Zev 17y agoI'm partial to Safari 4's Web Inspector. It's what Chrome's Web Inspector is based on, only much more powerful.