Enable debug WebView for embedded Safari in Remote Desktop Manager macOS

Debugging a web page rendered within a WebView can be an invaluable exercise, especially when it comes to meticulously examining its layout, diving into the intricacies of its design, or addressing confusing JavaScript complications. Follow these steps to enable debug WebView for embedded Safari in Remote Desktop Manager macOS.

Enable Safari Developer Tools

  1. Open Safari.
  2. Select Safari – Preferences.
    Safari – Preferences
    Safari – Preferences
  3. Go to Advanced.
  4. Check Show Develop menu in menu bar.
    Advanced – Show Develop menu in menu bar
    Advanced – Show Develop menu in menu bar

    The Safari Developer Tools are now available from the Develop menu in the menu bar.

Enable debug WebView for embedded Safari

  1. Close Remote Desktop Manager.
  2. From the Terminal (Terminal.app), run the following command:
defaults write com.devolutions.remotedesktopmanager WebKitDeveloperExtras -bool true
  1. Open Remote Desktop Manager and navigate to the website in the embedded browser.
  2. Back in Safari, go to Develop – Name of your local machine.
    Develop – Name of your local machine
    Develop – Name of your local machine

    The website is now listed under the local machine.
    Website under the local machine
    Website under the local machine
  3. Click the website name to open the Safari Developer tools.
    Safari Developer tools
    Safari Developer tools
Donnez-nous vos commentaires