title: How to debug HTTP connections from my local PHP server
body: <p>I'm new to PHP development and came from HTML5 / javascript dev where I obviously use Chrome dev tools network tab for convenient debugging of all network connections my apps do. Now, I have a PHP app that makes requests to different APIs on Internet and I faced a huge problem debugging these HTTP connections. I use methods described here: <a href="http://blog.kettle.io/debugging-curl-requests-in-php" rel="nofollow">http://blog.kettle.io/debugging-curl-requests-in-php</a>. But, sure, it's not that convenient as in Chrome web tools, where I can see a payload, response and other data in nicely structured way. My config is OS X 10.10 and MAMP. The app is based on Yii2 framework (this is probably redundant info, but just in case) and currently it's installed locally. Please advise on what are the best tools for debugging HTTP connections my local PHP app do outside.</p>