Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33336

Cannot debug with gradlew server while org.gradle.daemon = true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • gradle-jpi-plugin
    • None
    • Java 7, Gradle 2.11, JPI plugin 0.14.1, Windows 7

      The server started with gradlew server cannot be debugged if Gradle daemon is used.

      I use GRADLE_OPTS to pass debug arguments to JVM, but it seems that debugger connects to a wrong process. It connects successfully, but never stops at breakpoints.

      Setting org.gradle.daemon = false solves the issue.

            sghill Steve Hill
            sergeyk Sergey Kadaner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: