java
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9008
-Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.port=9007
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar gs-rest-service-0.1.0.jar
jvisualvm
启动参数
./visualvm.exe --jdkhome "D:Program Filesjdk-12.0.1"
intellj remote debug