server:
java -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888 ***.jar
idea:
Run/Debug Configurations --> new Remote input Host(server ip)、Port(8888)、Use module classpath(your debug module)
注意:本文归作者所有,未经作者允许,不得转载