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 how can I debug my Java Code through the ant tool or eclipse.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Add the following
jvmarg
options to your tomcat start command:You will be able to attach the Eclipse debugger on port 5000, using the
Remote Java Application
debug category.You can do that from eclipse:
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.