步驟一:在IDEA中安裝JRebel插件(File->settings->plugins->search in repositories),以下圖
![](http://static.javashuo.com/static/loading.gif)
步驟二:安裝完成以後,重啓idea,激活JRebel插件(能夠在help>JRebel>Activaction打開激活頁面,也可在重啓以後,直接點擊右側指導中進入激活頁面)
![](http://static.javashuo.com/static/loading.gif)
選擇License server方式(url可能失效,能夠自行網上搜索)spring
Url: http://139.199.89.239:1008/88414687-3b91-4286-89ba-2dc813b107cespringboot
email:隨便輸入ide
jrebel激活以後默認是聯網使用的 , 在該模式下 , jrebel會一直聯網監測激活信息 . 因此要調爲離線使用的,步驟見下圖url
![](http://static.javashuo.com/static/loading.gif)
步驟三:設置IDEA爲自動編譯
![](http://static.javashuo.com/static/loading.gif)
步驟四:按住 Ctrl+Alt+Shift+/ 彈出, 選擇Registry後勾選
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
步驟五:選擇springboot的入口類,右鍵選擇debug with JRebel,等待啓動完成便可。
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)