WHAT'S IN THIS CHAPTER?
Debugging on your mobile device
Enabling Android devices for debugging
Remote debugging inside of the Flash IDE
One of the major operations of any application development project is debugging. However, mobile apps pose a special problem on this ubiquitous development task — your runtime environment is located on a different machine from your development IDE. Therefore, you need to set up your debugging environment before you can debug on your Android and iOS devices.
In this chapter, I'll walk you through the steps you need to take to set up your development environment and devices for remote debugging.
Although your Android or iOS device will already be connected to your development computer via USB, remote debugging is actually done over WIFI. However, there's one condition for WIFI remote debugging to work — you'll need to connect both your development computer and device to the same WIFI network.
Some developers who have problems connecting to an existing WIFI network have had success by turning their Android device into a WIFI hotspot and then connect their development computer to it. To enable, go to Settings
You'll also need to know the IP address (or hostname) of your development computer. You can find it in Windows by running ipconfig in a Windows command line window. Or, if you're running a Mac, ...