java - 在 IntelliJ 中调试 Web 容器

标签 java debugging tomcat intellij-idea wildfly

当我添加各种服务器(Wildfly/Tomcat)运行/调试配置时,我可以在应用程序服务器配置窗口中附加它们的源代码。

Wildfly configuration with attached source code

Tomcat configuration with attached source code

我希望可以在调试时浏览此源。不幸的是,它不能:

enter image description here

我想跟踪部署在各种容器上的过程。我知道我可以在另一个 IntelliJ 中打开源代码并远程连接,但我想在同一个窗口中调试我的应用程序和应用程序服务器。我该怎么做才能做到这一点?

最佳答案

我在你的配置中看到 arquillian 源代码而不是 WildFly

关于java - 在 IntelliJ 中调试 Web 容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35974045/

相关文章:

java - For 和 foreach 循环 - 如何最有效地创建它们

python - 是否可以知道您是否在 ipython 中?

iphone - -[CFString长度] : message sent to deallocated instance 0x3881940 when i scroll to near the bottom of a table on iphone

apache - Geronimo 中的 Web 应用程序部署失败

java - Tomcat 的 Documentum 6.5 SP3 错误

java - tomcat 7.0.52 启动报错

java - 使用 spring 和 tomcat 从 xml 文件中接受数据

java - Spring中的@Component、@Repository和@Service注解有什么区别?

java - 在使 ImageView 不可见和可见 Android 之间暂停

iOS 应用程序崩溃,因为 -[UIView _setLayerConfig :]: unrecognized selector sent to instance