Eclipse远程debug设置
来源:互联网 发布:如何套用淘宝商品模板 编辑:程序博客网 时间:2024/05/01 17:03
前提:服务器上代码 和本地代码一样。
1.打开Eclipse,点击左上角的debug按钮,如图:
2.点击上图的红色区域
3.双击上图的红色区域
4.Project:选择你要debug的项目,Host:输入你的远程IP,Port:远程调用端口。如何知道远程端口,通过进入你的远程虚拟机的命令行,输入jps -v 命令,查找这一行
-Xrunjdwp:transport=dt_socket,server=y,address=2424,suspend=n
其中2424就是你远程服务器的调用接口。如果找不到,那是因为你的远程虚拟机tomacat或jboss配置没有支持remote debugging,需要在给JVM加上如下的启动参数:
-Xdebug -Xrunjdwp:transport=dt_socket,address=2424,server=y,suspend=n
adderss由你自己定的。
5.再一切设置好了后,点击右下角的debug按钮,你就可以像本地debug一样进行远程debug了。
0 0
- eclipse远程debug 设置
- eclipse远程debug 设置
- Eclipse远程debug设置
- eclipse远程debug 设置
- eclipse远程debug 设置
- Eclipse远程Debug设置
- Eclipse远程Debug设置概述
- eclipse+Tomcat远程debug设置
- eclipse设置远程debug、代码提示功能、alt+/ 失效 重设
- eclipse debug远程调试
- Eclipse远程DeBug运行
- eclipse 远程debug
- Eclipse远程debug
- 使用eclipse远程debug
- eclipse 远程Debug Hbase
- tomcat6+eclipse远程debug
- eclipse远程debug sqoop
- eclipse 远程调试 debug
- 学生管理系统----学分封装类
- 解决EFI VMware Virtual SCSI Hard Drive (0.0) … unsuccessful
- java System.getProperty()方法
- Error汇总
- C#中FileStream
- Eclipse远程debug设置
- 静态常量整数成员在class内部直接初始化
- 网页设计
- 用树莓派构建你自己的微型服务器,可以外网访问
- cocos2dx IOS 使用UIWebView来加载网页
- LeetCode OJ - Longest Consecutive Sequence
- 简易方法提高手机3G上网速度(2G转3G)
- linux源码之kill.c
- 遗传算法+蚁群算法+模拟退火+BP