address为自定义端口号
nohup java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4321 -jar jeecg-module-wr-hse-start.jar &
IDEA选择run/debug configuration
添加一个remote jvm debug
host填写对应ip
端口填写上面的address自定义端口号
address为自定义端口号
nohup java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4321 -jar jeecg-module-wr-hse-start.jar &
IDEA选择run/debug configuration
添加一个remote jvm debug
host填写对应ip
端口填写上面的address自定义端口号