You can run any ADB command on your phone without ever connecting it to a PC.
USB debugging is a mode that allows your Galaxy S10, or any Android device for that matter, communicate with computers for the purpose of development. It is under Developer options and by default, the ...