Springboot start remote debugging (idea)

Angryshark_ one hundred and twenty-eight 2022-06-24 07:15:20 阅读数:736

springbootstartremotedebuggingidea

Maven pack

 Insert picture description here

Upload jar Package to server

 Insert picture description here

Start remote jar package

java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n -jar dataqualityassessment-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod

Verify remote interface

 Insert picture description here

IDEA Add debug configuration

 Insert picture description here
 Insert picture description here

Start debugging

 Insert picture description here

copyright:author[Angryshark_ one hundred and twenty-eight],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/175/202206240050385807.html