Yes you can. I haven't done it myself, but instead of adding the -connect option to the ADT command line, you add the -listen option with a port to listen to. e.g.:
However, once you have compiled your package with ADT I don't know what the debugging process is on the machine
Thanks for the reply, Pea. I'm going to try this when I get home. It's going to my first time loading the iPhone with an Adobe AIR app.
Is 7328 the port the debugger listens on? And do you mean that you haven't gotten iPhone debugging to work in general?
No, 7328 is a number that I made up. i think you can use any number as long as you use the same one at both ends. I haven't been able to get debugging working yet (i.e. I haven't been able to connect using FDB), but I have been able to compile the package with debugging enabled.
Here is the Adobe help about Remote debugging with FDB over USB. Good luck!
Edit: It looks like the port that FDB uses by default is 7936. You can specify '-listen' with no port number.
Hmm. It looks like perhaps cable debugging is only available on Android. Here is another article about building and debugging iOS AIR apps, and it specifically says "transfer teh app to the device using the cable, but use WiFi for debugging". Sorry about that!
Is debugging over USB something that will be supported in later releases? Or is it not possible because of a restriction by Apple (possibly because only iTune to iOS communication is allowed over USB)?
Europe, Middle East and Africa