Safari Gets JavaScript Debugger

by Tom

The latest nightly build of Safari now includes a JavaScript debugger. There are not too many details about how the debugger works yet, but the partial screenshot looks promising. Update: Apple has a terrific developer library for Safari that basically takes an encyclopedic approach to debugging your website with Safari. You can debug Javascript, CSS and HTML using Web Inspector, you can also use the console to debug JavaScript, you can analyze client-side databases, storage and cookies, and even inspect the off-line application cache using functionality you’ll find in Safari now. This is going to save plenty of developers a lot of time and it’s extremely helpful for Apple to have improved Safari like this.

If you found this helpful or interesting, please share it!

{ 4 comments… read them below or add one }

Xutu

Safari has had a javascript console / debugger for a while. You just had to do some wierd stuff to make it show up on the menu at the top.

temporist

second that xutu

twilightfro

Safari has had a console, but with drosera you can step through the code like a real debugger.

gordon

Xutu: The built in console is useless. I’m trying to figure out why a script works in Safari 3 but not Safari 2, but all the Safari 2 console outputs is “null object – line 1″. Line 1 of which file? Give me some useful info, dammit!

Unfortunately the proper debugger seems to be Safari 3 only, which is the version of the browser which runs the scrit as intended anyway.

Leave a Comment

Previous post:

Next post: