I use IntelliJ IDEA as well. But I simply create a Maven configuration
that runs mvn jetty:run and launch it as a debugging session.
-Filip
On 2008-08-22 17:32, César Lesc wrote:
I set MAVEN_OPTS, launch jetty with maven and just attach the debugger's IDE,
in IntelliJ IDEA is called Remote Deb
I set MAVEN_OPTS, launch jetty with maven and just attach the debugger's IDE,
in IntelliJ IDEA is called Remote Debug
my debug script es like this:
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n"
mvn jetty:run
César.
--
Hi Thank you for your replay.
But if I do debug as I don't think I have the jetty option, only the server
that is tomcat, m I missing any plugin ?
Regards
Raul Rosenzvaig
Jonathan Barker wrote:
>
> I use Jetty 5 Plus run in Eclipse via the JettyLauncher plugin.
>
> I occasionally use the D
Hi limonn,
to start Jetty, we use an org.mortbay.jetty.Server object started in a
simple public static void main - so we can debug our program like any
other java program too.
The "no restart needed"-Feature is enhanced by debugging the application
this way: When simply run, "no restart needed
I use Jetty 5 Plus run in Eclipse via the JettyLauncher plugin.
I occasionally use the Debug As in Eclipse, but most of the time I just Run
and use the great T5 error reporting.
When using Debug As, Eclipse will often grumble that it can't replace the
(running) code. I frequently find that I can