mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Gradle: cross-cutting debug of the Gradle groovy DSL(daemon) and subsequent java forked tasks (IDEA-119494)
This commit is contained in:
+1
-1
@@ -761,7 +761,7 @@ public class BaseGradleProjectResolverExtension implements GradleProjectResolver
|
||||
"gradle.taskGraph.beforeTask { Task task ->",
|
||||
" if (task instanceof JavaForkOptions) {",
|
||||
" def jvmArgs = task.jvmArgs.findAll{!it?.startsWith('-agentlib:jdwp') && !it?.startsWith('-Xrunjdwp')}",
|
||||
" vmArgs << com.intellij.openapi.externalSystem.rt.execution.ForkedDebuggerHelper.setupDebugger(task.path, " + debugPort + ")",
|
||||
" jvmArgs << com.intellij.openapi.externalSystem.rt.execution.ForkedDebuggerHelper.setupDebugger(task.path, " + debugPort + ")",
|
||||
" task.jvmArgs = jvmArgs",
|
||||
" }",
|
||||
"}",
|
||||
|
||||
Reference in New Issue
Block a user