IntelliJ IDEA远程JSP调试? [英] IntelliJ IDEA Remote JSP Debugging?

查看:254
本文介绍了IntelliJ IDEA远程JSP调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ IDEA 11.1.1,我正试图弄清楚如何在JBOSS 4.01服务器上远程调试JSP。我可以成功远程调试servlet,但我无法调试JSP。 JBOSS运行时带有以下 JAVA_OPTS

I'm using IntelliJ IDEA 11.1.1 and I'm trying to figure out how to remotely debug JSPs on a JBOSS 4.01 server. I can successfully remotely debug servlets but I can't get JSPs to debug. JBOSS is running with the following JAVA_OPTS:

-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4142,suspend=n

我是新来的IntelliJ IDEA世界所以任何建议都会受到赞赏。

I'm new to the IntelliJ IDEA world so any advice would be appreciated.

推荐答案

我已经尝试过JBoss 5.1.0并且它工作正常,确保为部署配置了工件,我使用了以下设置:

I've tried it with JBoss 5.1.0 and it works fine, make sure you have artifacts configured for deployment, I used the following settings:

在JSP中命中断点:

这篇关于IntelliJ IDEA远程JSP调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆