Are you interested in creating Android Apps, or maybe just running home diagnostics on your device? If so one of the first things you’ll want to do is connect your phone to your computer, but to do this requires that you set up your phone and enable USB debugging mode accordingly. Let’s enable Debug Mode!
When paired with a computer running Android SDK (or another diagnostic program), Debug Mode can allow you to pull up all sorts of useful information about your phone. In the screenshot below I’m using the DDMS tool from the Android SDK to monitor where RAM is being used on my Samsung Galaxy S Android phone. But this is just one example of what you can do!
Enable USB Debugging Mode On Your Android Mobile Phone Device
Launch the Settings app on your phone. This can be found in your App Drawer, or by Pressing the menu button on the outside of your device.
Check the box for USB debugging.*
*You can also Enable, Stay Awake and Allow mock locations to make things easier when you are running tests.
Your phone should now be in Debug Mode, if you go into the notification bar you’ll find an Ongoing alert stating USB debugging connected. Note that even while USB debug mode is enabled you can still Mount your Android phone to your computer to transfer files without causing any problems!
Note that in the newer Ice Cream Sandwich (Android 4.0) operating system USB Debugging is now located under Developer Options > Android Debugging.