how to debug a Jenkins plugin when Jenkins is started through "gradle server"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: gradle-jpi-plugin
    • None

      I haven't seen it documented anywhere...
      I use Gradle to build my sample Jenkins Plugin (thanks a lot for implementing it, by the way!).

      now I want to debug the plugin in Intellij IDEA. I start the server using "gradle server" command , which launches Jenkins with my plugin installed. now, how do I -
      1) connect to that process and make IDEA stop at breakpoints?
      2) when I recompile, I would want to see the new behavior right away without restarting the server, if possible

            Assignee:
            Daniel Spilker
            Reporter:
            Alex Java
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: