tomcat 远程调试

    xiaoxiao2021-03-25  53

    在tomcat/bin/startup.sh开始处中增加如下内容

    declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788"

    开启端口

    nc -4l -p 8788 &(打开8788端口)

    转http://flyer2010.iteye.com/blog/658506 http://www.open-open.com/lib/view/1421501516421

    转载请注明原文地址: https://ju.6miu.com/read-50406.html

    最新回复(0)