If you’ve to debug some script in Safari, and you’d wish to write into the javascript console, the simple advice is to use the same code as in Firefox.

console.log(object);

That’s all.

Related posts:

  1. Profiling JavaScript with Firebug. console.profile() & console.time()!
  2. JavaScript closures in brief
  3. jQuery debug plugin