Pre-story:
Nexus 5X has USB-C to USB-C cable out-of-the-box which is obviously not compatible with USB-A without any addition equipment (USB-C to USB-A cable). Both of the mentioned above cables seem to be quite expensive, and I don't want to buy another cable for the newly purchased phone.
Problem:
I need to debug a website in Chrome on Android device - Nexus 5X - and see what is exactly happening with a page on Chrome on my Mac without USB cable connection. I know that this is possible via port forwarding feature Google Chrome dev-tools has.
The main idea is that I do not need to debug native Android apps so all the suggested steps with adb
would not make any sense.
I am able to access web apps running on my localhost Apache web server (device ip address:port number), but I cannot see what's exactly happening on the device screen if something is broken.
Same link suggests that first I need to connect my device via USB to use it afterwards on without the USB and then configure the port forwarding. This means that I need to do connect/disconnect procedure every time I need to debug a website, what does not seem very convenient.
Question:
How can I debug Nexus 5X Android 6.0.1 Chrome app (44.0.2403.133) to my desktop Chrome app (53.0.2785.116 (64-bit)) running on Mac OSX El Capitan? Both devices are on the same network, under the same Google account.