zoukankan      html  css  js  c++  java
  • eclipse

    步骤:前提是tomcat上应用是eclipse打包部署上去的,代码一致。

      1,在机器A上部署应用remote-debug之前,需要为机器A上的tomcat配置调试端口。在${tomcat}/bin下加个debug.bat/sh内容为

        set JPDA_ADDRESS=8000
        set JPDA_TRANSPORT=dt_socket
        catalina.bat jpda start
        设置调试端口为8000,开启debug.bat。可以访问应用http://192.168.100.112:8080/remote-debug/xxx.
    2,在eclipse调试机器B上选择remote-debug应用,配置debug Configuration;
    可参考:http://blog.csdn.net/sunyujia/article/details/2614614
       :http://blog.sina.com.cn/s/blog_86a6730b0101iean.html
    3。在步骤2上点击apply->debug.绿条走完证明调试准备好。
    4. 在机器B调试的代码上设置断点,
    5.在机器B浏览器上键入http://192.168.100.112:8080/remote-debug/xxx,即可进行断点调试
     
     
  • 相关阅读:
    DAG:区块链行业下一个引爆点?
    php7的新特性
    Linux中的冷热页机制概述
    撰写后台需求文档需要注意的那些事儿
    poj 1201 Intervals
    poj 1364
    poj Candies
    hdu 1429
    poj A Round Peg in a Ground Hole
    poj 1113Wall
  • 原文地址:https://www.cnblogs.com/daxiong225/p/5638353.html
Copyright © 2011-2022 走看看