I'm trying to turn on debugging on my Samsung Galaxy J5 so I can use adb shell rm /data/system/gesture/.key
and unlock my phone screen so I don't have to reset it and lose all its data (but it's locked with my PIN). For that, I need to know how to debug it just by the Command Prompt.
Is there a way to enable Android debugging by PC?