Normally, I would use a packet sniffer, such as WireShark (OS X and Windows) to look at the network traffic and debug an application. For Android development I do my primary development on a physical Android device. It is faster, and provides a more realistic experience during development and debugging. However, since the network traffic is no longer going through my computer, WireShark doesn't help. To solve this, I use another program called Charles.