[java] eclipse configure java remote debugging

Debugged program configuration

Add the following content to the debugged program startup script

addJava "-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n"

address: Debug port

eclipseConfiguration

Enter Go to Run –> Debug Configurations –> Remote Java Application, right-click to select New Configuration, configure Connectand Sourcesrelated information.
For reference information, see Java Remote Debug with Eclipse

Guess you like

Origin blog.csdn.net/macaiyun0629/article/details/108432373