juzii

1. 在服务器上运行jar包时加入参数

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

 

2. 在Eclipse中操作

Run-> Debug Configuration-> Remote Java Application -> 在右侧输入ip和端口,点击Debug即可

分类:

技术点:

相关文章:

  • 2021-11-26
  • 2021-11-30
  • 2022-01-03
猜你喜欢
  • 2021-09-30
  • 2021-09-30
  • 2021-05-22
  • 2021-10-08
  • 2021-07-14
相关资源
相似解决方案