In Safari (macOS and Mac OS X only), the developer tools options can be found once the Advanced setting 'Show Develop menu in menu bar' is turned on. To do this, open Preferences from the Safari menu.
After this has been enabled the Web Inspector can be found under the new Develop menu:
The following image shows the Safari developer console: