Connect to IntelliJ debuger/console from a gradle task

Answered

Hi,

I'm developing a gradle plugin for adobe air application, i've created tasks for compiling and launching app in ADL, it's working fine but is there any way i can link that ADL instance to IntellIJ debugger like it would works if i were using a debug configuration?

Thx a lot!

6 comments
Comment actions Permalink

Try to use Flash Remote Debug run configuration.

0
Comment actions Permalink

Hello,

Thx this works great just one more thing i'm trying to add this remote debug configuration into the "before launch" from another configuration but when i do so nothing happend when i click run or debug. Is this a bug or do i miss something?

Thx again!

0
Comment actions Permalink

Hm, indeed, looks like a bug.

At the same time it works in a different order: if other RC is set as before launch for Flash Remote Debug RC.

0
Comment actions Permalink

Yes indeed it works if you change order but debugger won't connect since you need to kill adl to make the previous rc complete and RC to run.
Do i need to open a ticket for this?
Thx

0
Comment actions Permalink

I'm afraid even if fixed it won't satisfy your needs. Another run configuration won't start until Flash Remote Debug ends. I do not think it makes sense to you.

0
Comment actions Permalink

Ok i'll do another way

Thanks

0

Please sign in to leave a comment.