zoukankan      html  css  js  c++  java
  • IDEA JRebel热部署( IDEA版本是2020.1.2)

    1.安装JRebel插件

    在IDEA->Settings->plugins先安装JRebel插件:

    2.下载工具

    安装好JRebel后,找到lanyus大神文章中写的git地址:http://github.com/ilanyu/ReverseProxy/releases/tag/v1.4,下载自己机器系统相对应的工具

    我本机是win10,下载的是ReverseProxy_windows_amd64.exe,完成之后,直接双击打开,默认使用8888端口,如下图:

    3.JRebel激活

    工具启动后,就可以开始激活:

    直接进入到jrebel的配置项中,点击active now链接进入到激活界面,选择Team URL(connect to online licensing service)方式激活

    第一行输入http://127.0.0.1:8888/GUID,GUID可以去https://www.guidgen.com生成

    第二行随便输入一个邮箱就行,比如:idea@163.com

    最后勾选I agree with the terms & conditions of the License Agreement,点击Activate JRebel激活即可。

    激活成功后效果如下:

     这个时候即可关掉 ReverseProxy_windows_amd64.exe,激活完成。

    (网上有人说,工具要一直启着才行,我自己本地试了,关掉后面也是可以的)

    4.JRebel使用

    (1)设置自动编译项目

    (2) 修改配置

     (3)设置JRebel  Work online 和 Redeploy time

     (4)勾选要使用JRebel的项目

     (5) JRebel启动

     下面是我debug的效果图:

  • 相关阅读:
    tp.c
    trace
    一致性哈希算法
    update_dctcp_alpha
    dctcp-ns2-patch
    C++ inheritance: public, private. protected ZZ
    C++ virtual inheritance ZZ
    C++ 类对象的初始化顺序 ZZ
    C++ inheritance examples
    classifier.cc-recv() [ns2.35]
  • 原文地址:https://www.cnblogs.com/zkx4213/p/13323804.html
Copyright © 2011-2022 走看看