Archive for October 13th, 2005

You are currently browsing the archives of Enabling Technology .

remote debug JSP

今天终于成功地使用了IntelliJ 5.0的调试jsp的功能,以后再也不用在jsp页面写输出语句来看结果了。

步骤如下:打开远程的tomcat以调试模式打开:catalina.bat jpda start 注意已经设置好环境变量:

   JPDA_ADDRESS=5050
                JPDA_TRANSPORT=dt_socket

然后使用IntelliJ的Run->Config->tomcat server 设置好tomcat 以及调试的端口。

不要使用remote,这个不能调试jsp.

庆祝。

Posted by micas on Oct 13th 2005 | Filed in J2EE | Comments (0)