debugging - Logging localhost HTTP requests from PHP in Fiddler -


i have test website hosted on apache on localmachine. have php script makes call remote website.

i capture traffic in fiddler, i'm assuming appache opening port perform communication fiddler doesn't know it.

how should configure fiddler know communication?

to capture curl traffic use the following line before making curl calls:

curl_setopt($ch, curlopt_proxy, '127.0.0.1:8888'); 

this configures curl use fiddler proxy it's external traffic.


Comments