简体   繁体   English

使用IDEA,如何调试部署到本地tomcat的Web应用程序?

[英]Using IDEA, how to debug web app that is deployed to local tomcat?

使用IDEA,如何调试部署到本地tomcat的Web应用程序?

Edit your run/debug configurations and add a "remote" configuration. 编辑您的运行/调试配置,并添加“远程”配置。 Instructions contained in that very dialogue. 对话中包含的指示。

I don't believe the remote configuration instruction is necessary. 我认为不需要远程配置说明。 Just add breakpoints to your Java classes or JSPs and run in debug mode. 只需将断点添加到Java类或JSP并在调试模式下运行即可。 If Tomcat is local to your machine, that's all you need to do. 如果Tomcat在您的计算机上是本地的,那么这就是您需要做的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM