首先以调试模式启动编译好的jar包,监听端口为5005

java -jar  -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005  rest-0.0.1-SNAPSHOT.jar  --server.port=8083

 

然后配置eclipse远程调试

springboot 远程调试

 

 点击debug就可以了

 

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2021-12-25
  • 2021-12-17
  • 2021-08-16
  • 2021-05-13
  • 2021-11-18
  • 2021-08-31
猜你喜欢
  • 2021-06-17
  • 2021-04-11
  • 2022-12-23
  • 2021-10-06
  • 2021-10-18
  • 2021-10-13
  • 2021-07-26
相关资源
相似解决方案