You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to debug a JPS plugin that's used in an IntelliJ plugin. To do this, I must provide the JVM argument -Dcompiler.process.debug.port=5005 to the IntelliJ process. This causes IntelliJ to wait for a debugger to connect to port 5005. I can do this:
JFY, intellij idea doesn't like (doesn't show in Gradle tool window) tasks from group other with the idea-word in name, so it's better to set any other group for debug task or change its name.
Also, afterEvaluate is still needed, I hope I'll get rid of that in future.
I'm trying to debug a JPS plugin that's used in an IntelliJ plugin. To do this, I must provide the JVM argument
-Dcompiler.process.debug.port=5005
to the IntelliJ process. This causes IntelliJ to wait for a debugger to connect to port 5005. I can do this:But I want to do this in a separate task only, so I can still use
runIdea
without having to connect a debugger. So I tried this instead:But then I get an error about redefining
runIdea
, even though I'm naming itdebugIdea
.How can I keep
runIdea
as is, but create a new taskdebugIdea
with the JVM arguments I want?The text was updated successfully, but these errors were encountered: