Jan,
I have a fine tune addition
when you supply: suspend=n instead of suspend=y
you can start immeadiatly without running the debugger and launch the
debugger at anytime you really wish to debug.

Rolf
By the way
Thanx for the credit

On 4/6/06, Jan Bartel <[EMAIL PROTECTED]> wrote:
>
> Rolf,
>
> FYI.
>
> I have added your instructions for running the jetty plugin
> under the eclipse debugger as a FAQ entry on the jetty6
> site at:
>
> http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
>
> I've credited your name.
>
> regards
> Jan
>
> Rolf Strijdhorst wrote:
> > yes, there is just start maven with:
> > jetty6:run
> > but have in the environment tap of externaltools
> > a variable MAVEN_OPTS with content: -Xdebug -Xnoagent
> > -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket
> ,server=y,suspend=y,address=4000
> >
> > next run debug on port 4000 or the same portnumber as the address
> property
> > on the line above
> > if you also specify that the debugger is able to terminate the jvm then
> you
> > can reuse the debug session the next time you start jetty.
> >
> > Rolf
> >
> > On 12/26/05, Koen Maes <[EMAIL PROTECTED]> wrote:
> >
> >>maven jetty plugin works great but i would like to debug my webapp via
> >>eclipse
> >>is there any option - like tomcat : catalina.sh jpda start - to tell
> jetty
> >>that it should open up a JPDA port so I can connect with eclipse remote
> >>debugger ?
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to