Trying to debug a Mobile Safari Javascript bug. Connected the phone to my Mac via USB Lightning cable. Saw the phone show up in the Develop Menu in Desktop Safari.
Selected, 'Use phone for development' but when it switched to "Enable web inspector on device" the option is grayed out.
Found this SO question which is similar but a different issue. Tried disabling Wifi and Bluetooth while phone is connected. Didn't help.
Tried restarting the phone, and Desktop Safari. Didn't help.
Never done this before, am I doing something wrong? Anyone faced this issue?