Debug my web application using ant

前端 未结 2 758
予麋鹿
予麋鹿 2021-01-21 00:38

I am currently developing an MVC Application using Java EE Technologies and Eclipse as an IDE. To run my server and deploy my application I am using ANT. I would like to know ho

2条回答
  •  Happy的楠姐
    2021-01-21 01:26

    You can do that from eclipse:

    • enable debug on tomcat
    • create a new debug configuration in eclipse that connects to tomcat

    See here for details.

    But it is not a good idea to use ant to start tomcat in development. Use Eclipse WTP to start your tomcat and deploy applications on it.

提交回复
热议问题