How to Enable the Debug Menu in Safari Browsers

Enabling the Debug menu in Safari provides access to advanced developer tools and options that are not available by default. This guide explains how to activate the Debug menu in Safari on both macOS and the Windows version. Please follow the instructions carefully.

Enabling the Debug Menu on macOS

1. Close Safari
Ensure that Safari is completely closed before making any changes.

2. Locate the Preferences File
The Safari preferences file is typically located at:
~/Library/Preferences/com.apple.Safari.plist
for Windows:
C:\Documents and Settings\Administrator\Application Data\Apple Computer\Safari\Preferences.plist
To access this folder:

  • Open Finder
  • Click on “Go” in the menu bar, then select “Go to Folder”
  • Enter the path above and click “Go”

3. Edit the Preferences File
Open the com.apple.Safari.plist file using a property list editor or a plain text editor. Add the following key-value pair inside the file:

<key>IncludeDebugMenu</key>
<true/>

Save your changes and close the editor.

4. Restart Safari
Open Safari. You should now see a new “Debug” menu in the menu bar, alongside the “Develop” menu.

 

Enabling the Debug Menu in Safari for Windows

If you are using the Windows version of Safari, you can enable the Debug menu by launching Safari with a special command-line argument.

1. Close Safari
Make sure Safari is not running.

2. Open Command Prompt
Press Win + R, type cmd, and press Enter.

3. Navigate to the Safari Directory
Use the cd command to change to the directory where Safari is installed. For example:
cd "C:\Program Files (x86)\Safari"

4. Run Safari with the Debug Menu Enabled
Type the following command:
Safari.exe /enableInternalDebugMenu

Safari will open, and the Debug menu should be visible in the menu bar.

 

By following these steps, you can enable the Debug menu in Safari and access additional developer tools for troubleshooting and advanced configuration.

×