Eclipse远程调试Java应用

1.在catalina.sh中加入:
 if [ -z "$JPDA_ADDRESS" ]; then
    JPDA_ADDRESS="8000"
  fi

2.在startup.sh中start前加入jpda
exec "$PRGDIR"/"$EXECUTABLE"  jpda start "$@"

你可能感兴趣的:(eclipse,远程调试)