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 know that this is possible via port forwarding feature Google Chrome dev-tools has. 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. 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.
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).