eclipse遠程調試Tomcat方法

1、Linux中配置 center下,在startup.sh文件首行中添加如下語句    declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"(不要換行,要在同一行) Ubuntu下
相關文章
相關標籤/搜索