When I toggle on the install via USB in developer mode:
if you have root you can force it with adb shell adb shell su setprop persist.security.adbinput 1
adb shell su setprop persist.security.adbinput 1