How to set agentlib property for mvn tomcat plugin (jpda)

前端 未结 3 1110
萌比男神i
萌比男神i 2020-12-30 06:37

Related to eclipse debug remote web application => How do I debug a remote application in my eclipse

How can I set / archive this in the mvn tomcat plugin? http://to

3条回答
  •  借酒劲吻你
    2020-12-30 07:02

    OR... you could simply add the following tag to your plugin configuration

     true
    

    Then when you execute: mvn tomcat7:run, it will start jpda on port 8000.

    Funny thing is even though I have tested this and it works, I can't find any code in the opensource code base to explain why it works, nor have I found any way to change from the default port 8000.

    Apache seems to have dropped the ball when it comes to documentation of this plugin.

提交回复
热议问题