Execute command from run configuration

Hello,

I could use an advice on how to achieve the following.
I would like to launch an Adobe AIR application via a Windows batch script, and connect a Flash debugger to this application.

I'm using IDEA 12. I've tried to set up a Flash Remote Debug configuration that runs an external tool (cmd) before launching the debugger. This approach doesn't work, because the remote debugger is not attached to the already running AIR app. I need to be able to launch the debugger before launching the AIR app. For now I'm doing this in two steps: launch remote debugger from IDEA. lanch my app from command line. I would like to be able to do this in one step, if possible.

Thanks,
Jan

3 comments
Comment actions Permalink

Hello Jan,

Flash Remote Debugger could be attached to the already running AIR app. If you use debug version of flash player you could right click on running application and select "Debugger". Then you could connect to debugger started from IDEA.

0
Comment actions Permalink

Yes, that's an option, but it would mean that I still need two steps to start a debugging session. My aim is to have a single step.

0
Comment actions Permalink

There is an option to run another Run/Debug configuration before launch. But now it doesn't support Remote Debug configuration. You are welcome to create request for this feature in YouTrack: http://youtrack.jetbrains.com/issues/IDEA.

0

Please sign in to leave a comment.