% defaults write com.apple.Safari IncludeDebugMenu 1Then launch Safari, and enjoy the new Debug menu.
[Editor's note: The debug menu has some useful options on it, so you may find this a very useful hack. If you ever wish to disable it again, just repeat the command with a "0" instead of a "1".]

