I had the exact same problem yesterday on my HTC M8. Debugging set to on, found the phone in My Computer, but when running adb devices nothing came up. Installing drivers solved it for me.
You might check out this
https://www.mobileread.com/forums/sh...5&postcount=27
The whole thread, really. Might work.