Eclipse Remot Debug

来源:互联网 发布:知彼软件是干什么的 编辑:程序博客网 时间:2024/05/26 19:17

Tomcat

JAVA_OPTS="{JAVA_OPTS}  -Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=1024m -Djava.awt.headless=true -Dsun.reflect.inflationThreshold=0 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.ssl=false -Dengine.role=all -Dafs.webapp.storageadaptor=localStorageAdaptor 

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"

or 

in startup.sh

exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"


Eclipse

Debug Configurations->Remote Java Application->host:[RemotHostIp],Port[8000]

0 0
原创粉丝点击