一直自己配置tomcat的远程debug今天无意发现tomcat bin目录下的catalina.sh有个jpda参数,可以做到远程debug不用再自己配置了.
使用规则:catalina.sh jpda start就可以了.如果连不上则关闭防火墙:service iptables stop
一直自己配置tomcat的远程debug今天无意发现tomcat bin目录下的catalina.sh有个jpda参数,可以做到远程debug不用再自己配置了.
使用规则:catalina.sh jpda start就可以了.如果连不上则关闭防火墙:service iptables stop