Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use Charles Proxy to monitor traffic from IE 8 in a virtual box VM?

I'm trying to debug an issue in IE8.

I'm testing a live bug in the JavaScript code that is minified and uglified, so dev tools are not very useful here.

I'm working on a Mac so I'm using a VirtualBox VM.

I have Charles Proxy running. I want to use Charles to map the served JavaScript to a local unminified version. This is fine for Firefox and Chrome running natively but I cannot get Charles to monitor traffic from the VM.

Any suggestions?

like image 667
spinners Avatar asked Apr 07 '14 13:04

spinners


1 Answers

As it turns out, all I had to do was tell IE in the VM to use my proxy.

Internet Options -> Connections tab, click LAN settings -> Select the Use a proxy server for your LAN check box

In the Address box, type the address of the proxy server, in my case it was the IP of my Mac

In the Port box, type the port number Charles is running on.

like image 163
spinners Avatar answered Sep 21 '22 17:09

spinners