利用 jrebel 热部署\远程调试\远程热部署 springboot项目 服务器上的代码

```java java -agentpath:./lib/libjrebel64.so -Drebel.remoting_plugin=true -Drebel.remoting_port=12345 #热部署 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 #远程调试 -jar target.jar # springboot项目 ``` 加上以上参数,即可以实现 远程断点调试,并且 本地代码修改了,立即同步至服务器上.这样我们本地代码修改了,就不必重新编译,然后再拷贝到服务器上重启才能生效了,为开发提供了很大的便利. 再分享一个jrebel激活网址: http://139.199.89.239:1008/88414687-3b91-4286-89ba-2dc813b107ce

猜你喜欢

转载自www.cnblogs.com/mysgk/p/9426946.html