Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] How to debug a webapp with m2e and jetty:run?

I tried to debug a webapp inside m2e by running it as m2e "Maven Build" Run Configuration and setting MAVEN_OPTS to "-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=y" but it didn't work.

I had to resort to debug it by running Maven as an external tool like explained here: http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse (which requires 2 separate steps, to launch the application and the debugger).

How can I debug a webapp with m2e? Is this feature not implemented?

Thanks in advance,
Daniel Serodio



Back to the top