Monday, September 26, 2016

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


On Monday, September 26, 2016 at 1:40:47 PM UTC+2, David wrote:
Thomas,

Once I run "mvnDebug tomcat7:run -pl *-server -am -Denv=dev" from a command line, I just got the following message:
                                           Listening for transport dt_socket at address: 8000

This tells you on which port you'll attach the Java debugger. From Eclipse, you then create a debug launcher for a "remote application" and select the dt_socket transport and 8000 port. Once the Java debugger is connected, the execution is resumed.
It's actually easier to do a "Debug as… → Maven…" in Eclipse.

--
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