Archive for August, 2008
Javascript debugger for Safari
My day to day web browser is Firefox, and the best plugin for developing web applications with Firefox has got to be Firebug. Firebug allows you to inspect the CSS style for any element in the page, navigate the DOM, and debug your javascripts. Firebug is tied to Firefox but you can get some basic Firebug functionality for all browsers with Firebug Lite.
What if you want to debug javascript that just doesn’t seem to work for Safari? Well Safari doesn’t have a javascript debugger just yet, but its open source development shapshot WebKit does. To use it you first need to download WebKit. Then go to Safari -> Preferences -> Advanced, and check the checkbox that says “Show Develop menu in menu bar”.
Next time you run WebKit you will have access to the Web Inspector tool located in the Develop menu.