I had same problem with LG G4 (lollipop) and Mac OSX (10.10.5). When I connected the phone to the Mac, with USB debugging enabled, I could not detect the phone with "adb devices".
The answer is in the USB connection setting. In Charge-only or MTP mode, I could not access the phone. But in...