Monday, September 26, 2016

Re: How to debug server side code in Thomas Broyer GWT Maven Plugin



On Monday, September 26, 2016 at 5:59:50 AM UTC+2, David wrote:
I used Thomas Broyer GWT Maven Plugin to create a maven GWT project from a command and imported into Eclipse 4.6. I can run Jetty and Tomcat and application works fine. But I want to debug server side code. I cannot figure out how to debug server side code. I set up a break point in server side code, but it doesn't stop there.

With their respective Maven plugins, Tomcat and Jetty run in the Maven process, so you "just" run Maven in debug mode (either "mvnDebug tomcat7:run" instead of "mvn tomcat7:run"; or "Debug as… → Maven…" from within Eclipse, instead of "Run as… → Maven…")
You can also run the webapp using Eclipse WTP (or whatever it's called) by defining a "Server", without using Maven in this case.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment