Open Hearen opened 6 years ago
https://github.com/alibaba/arthas/issues/222
javac Demo.java && java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 Demo
# Run -> Edit Configuration -> + Remote and fill in port: 8000 -> name it as demo-remote # debug demo-remote # it's time to start Arthas bin/as.sh and select the Demo # debugging time now ~
$ export PS4='(${BASH_SOURCE}:${LINENO}): - [${SHLVL},${BASH_SUBSHELL},$?] $ ' $ bash -x bin/as.sh
# Telnet Checking lsof -nP -iTCP:3658 | grep LISTEN # Http Checking lsof -nP -iTCP:8563 | grep LISTEN
https://github.com/alibaba/arthas/issues/222
Create a demo and make it listen at 8000
Configure remote debug and Start Arthas