Telerik blogs

An alpha build of Fiddler for Mono is available and enables you to run Fiddler directly on the Mac. Unfortunately Mac’s Mono WinForms framework isn’t very robust and frequently crashes due to bugs not present in the Linux Mono framework or the Microsoft .NET Framework on Windows. Therefore, Mac users often get the best results by running Fiddler inside a virtual machine running either Linux or Windows.

In the documentation, I wrote about how to run Fiddler inside Parallels, but some users prefer to run the free and open-source VirtualBox client. Running Fiddler inside VirtualBox is simple.

  1. Install VirtualBox and create a Windows or Linux virtual machine.
  2. In VirtualBox Manager, select the VM and click the Settings icon at the top of the window.
  3. Click the Network icon at the top of the window and change Attached to: to Bridged Adapter. Click Ok.
    image
  4. Start the Virtual Machine and install Fiddler.
  5. Start Fiddler and click Tools > Fiddler Options > Connections. Tick the “Allow remote computers to connect” box.
  6. Restart Fiddler.
  7. Note the IPv4 address of the Fiddler instance by hovering over the Online icon in Fiddler’s toolbar, or run ifconfig eth0 in the terminal (Linux) or ipconfig (Windows).
  8. On the Mac, click the Apple Menu > System Preferences > Network.  
  9. Click the Advanced button.   
  10. On the Proxies tab, Enable the Web Proxy (HTTP) and Secure Web Proxy (HTTPS) options to point to the IPv4 address of the virtual machine (found in Step #7) using port 8888.
  11. To decrypt HTTPS traffic, you’ll need to install the HTTPS certificate in the Mac’s keychain. You can download this certificate by visiting the http://IPAddress:8888.

 

Until a new build of Fiddler for the Mac (based on a more mature UI Framework) is available, I hope these instructions enable you to use Fiddler effectively on your Mac!

-Eric Lawrence


About the Author

Eric Lawrence

(@ericlaw) has built websites and web client software since the mid-1990s. After over a decade of working on the web for Microsoft, Eric joined Telerik in October 2012 to enhance the Fiddler Web Debugger on a full-time basis. With his recent move to Austin, Texas, Eric has now lived in the American South, North, West, and East.

Comments

Comments are disabled in preview mode.