Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change the sequence of steps to make it more clear:

...

Then do the following to run Jenkins under the debugger, and open http://localhost:8080/ in your browser:

No Format
# To change the port run mvnDebug jenkins-dev:run -Dport=9090
$ cd war
$ mvnDebug jenkins-dev:run

This will launch maven with the debugger port for 8000. You can connect to this port from your IDE by using the remote debug feature. After you connect the debugger, open http://localhost:8080/ in your browser. Once this starts running, keep it running. Jetty will pick up all the changes automatically.

...