This message was deleted.
# plugin-development
s
This message was deleted.
l
Are you delegating to Gradle for the debugging or using Idea’s model of your project?
j
not sure what you mean with Idea's model. I have enabled
withDebug
via test kit. And I am running a Gradle task via run configurations. Do you want to say I shouldn't combine
withDebug
with debugging via IDEA?
l
I meant attempting to run the test from IDEA itself, without running a Gradle task - but that’s not what you are doing if I understand correctly. However from IDEA, you should then use the remote debug option AFAIK. Does that make sense? If not, let’s see if someone else has experience doing that - I have not done it in a while, so may be missing something …
j
I am running the test from IDEA with the Gradle run configuration (not the junit old one). Not sure about the remote config, I haven't used it previously. I will investigate
I think @Martin said me something about this time ago but I don't remember
m
I use
withDebug
because it's faster.
IIRC, it runs the tests "in-process" (whatever that means)
But also, I very rarelly run Gradle tests from IDEA itself
(I usually run them from the command line)
j
yeah but I need running them via idea to use the debugger
and it looks like when the debugger is attached, the extension from my plugin are missing
m
To debug, I usually run from the command line with
-Dorg.gradle.debug=true
and a "remote" run configuration in IDEA
j
Interesting, I will try, thank you both :)
👍 1