A prompt will appear on your phone screen asking to "Allow USB Debugging." Tap OK or Allow .
On your locked Samsung device, go to the emergency call screen and dial *#0*# to open the hidden Test Mode menu.