eclipse 远程调试linux下 tomcat 项目
2013-07-05 16:44
375 查看
在tomcat bin下start.sh 第一行非注释代码添加declare -x CATALINA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" 代码
然后将项目war包粘贴到webapps中
在bin下运行sh start.sh启动tomcat
转到本机eclipse中选择项目右键找到Debug as 下耳机菜单Debug Configurations ,在打开的对话框中找到Remote java Application ,右键新建
依次:选择项目,填写远程ip地址,还有刚配置得8000端口apply 最后Debug
不报错提示即为成功,然后打开debug监视窗口(从eclipse window菜单中选择Show View 选择Debug即打开)
最上面可显示调试中的远程项目名称 以及ip地址 端口
然后将项目war包粘贴到webapps中
在bin下运行sh start.sh启动tomcat
转到本机eclipse中选择项目右键找到Debug as 下耳机菜单Debug Configurations ,在打开的对话框中找到Remote java Application ,右键新建
依次:选择项目,填写远程ip地址,还有刚配置得8000端口apply 最后Debug
不报错提示即为成功,然后打开debug监视窗口(从eclipse window菜单中选择Show View 选择Debug即打开)
最上面可显示调试中的远程项目名称 以及ip地址 端口
相关文章推荐
- Eclipse进行远程调试linux 环境的tomcat配置 更新maven web项目
- eclipse远程调试linux下的项目
- tomcat远程eclipse调试debug端口配置在linux环境
- eclipse 远程调试 linux tomcat
- Eclipse远程调试Linux上的Tomcat
- eclipse 远程调试linux下的tomcat(同样适用于WINDOWS)
- Linux&Windows实现 Eclipse远程调试 tomcat应用
- Eclipse 远程调试部署在Linux weblogic上的项目
- eclipse远程调试Linux下tomcat
- eclipse远程调试tomcat中的项目
- eclipse远程调试linux下tomcat
- eclipse中远程调试linux系统下的tomcat
- linux下eclipse的tomcat远程调试
- 使用Windows上的Eclipse 远程调试 linux下的Tomcat
- Eclipse远程调试tomcat下部署的项目
- Eclipse进行远程调试linux 环境的tomcat配置
- eclipse 远程调试linux项目
- 使用Eclipse远程调试Linux服务器Tomcat项目
- Eclipse远程调试Tomcat(linux和windows)
- eclipse远程调试tomcat运行的web项目--配置