一开始用eclipse的时候虽然这是一个狂吃内存的家伙,但是调试代码是真的舒服,修改过的代码可以不用重启热加载,后来转idea,虽然idea很完美但是也有不足的地方,比如代码调试就不能热加载。

还好有第三方插件,话不多言,亲测可用

激活地址填写:https://jrebel.qekang.com/{GUID}

在线GUID地址:https://www.guidgen.com/

邮箱需要填写真实邮箱

激活之后,在设置里面将工作模式设置为offline就可以了

参考链接:https://www.cnblogs.com/babyshe/articles/12605174.html

附:如果试用jreble同时还想整合JProfiler来监测性能相关的参数,可以在jrebel的配置项里面添加一行参数,当然前提是你已经安装了JProfiler

这里我用的时jrebel Debug模式,如果不想在debug模式下,配置非debug模式就可以了

-agentpath:D:\software\jprofiler11\bin\windows-x64\jprofilerti.dll=port=8849,nowait,id=81,config=C:\Users\Vincente\.jprofiler11\jprofiler_config.xml

  • 注意你的.dll 文件路径和 config.xml的路径



正常启动可以看到控制台输出:

  • Tomcat启动 --> 加载 JProfiler --> 加载Jrebel --> 加载Xrebel
Using CATALINA_BASE:   "C:\Users\Vincente\.IntelliJIdea2019.3\system\tomcat\Unnamed_my-study-platform"
Using CATALINA_HOME: "D:\develop\tomcat\apache-tomcat-7.0.35"
Using CATALINA_TMPDIR: "D:\develop\tomcat\apache-tomcat-7.0.35\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_241"
Using CLASSPATH: "D:\develop\tomcat\apache-tomcat-7.0.35\bin\bootstrap.jar;D:\develop\tomcat\apache-tomcat-7.0.35\bin\tomcat-juli.jar"
JProfiler> Protocol version 63
JProfiler> Java 8 detected.
JProfiler> Don't wait for frontend to connect.
JProfiler> 64-bit library
JProfiler> Using config file C:\Users\Vincente\.jprofiler11\jprofiler_config.xml (id: 81)
JProfiler> Listening on port: 8849.
JProfiler> Enabling native methods instrumentation.
JProfiler> Can retransform classes.
JProfiler> Can retransform any class.
JProfiler> Native library initialized
2020-08-24 10:45:25 JRebel: Starting logging to file: C:\Users\Vincente\.jrebel\jrebel.log
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: #############################################################
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: JRebel Agent 2020.2.4 (202007241243)
2020-08-24 10:45:25 JRebel: (c) Copyright 2007-2020 Perforce Software, Inc.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: Over the last 30 days JRebel prevented
2020-08-24 10:45:25 JRebel: at least 796 redeploys/restarts saving you about 0.4 hours.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: License acquired from License Server: https://jrebel.qekang.com
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: Licensed to Vincente.
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: You are using an offline license.
XRebel: Starting logging to file: C:\Users\Vincente\.xrebel\xrebel.log
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel:
2020-08-24 10:45:25 JRebel: #############################################################
2020-08-24 10:45:25 JRebel:
XRebel:
XRebel: ################################################################
XRebel:
XRebel: XRebel 2020.2.0 (202006020843)
XRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tallinn.
XRebel:
XRebel: For questions and support, contact xrebel@zeroturnaround.com
XRebel:
XRebel: ################################################################
XRebel:
JProfiler> VM initialized
JProfiler> Using instrumentation
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled

Jrebel & Xrebel 在线激活方法 (亲测可用)的更多相关文章

  1. Windowserver2012服务器激活方法(亲测可用)---转载

    Windowserver2012服务器激活方法(亲测可用)原创꧁刘向洋꧂ 最后发布于2019-03-12 14:46:45 阅读数 5124  收藏展开激活方式 slmgr /ipk D2N9P-3P ...

  2. Intellij idea2020永久激活,亲测可用!!!(持续更新)

    DEA 2020 破解 IntelliJ IDEA 2020最新激活码(亲测有效,可激活至 2089 年,持续更新~) 申明:本教程 IntelliJ IDEA 破解补丁.激活码均收集于网络,请勿商用 ...

  3. win10教育版永久激活密钥 win10教育版激活码 win10教育版产品密钥2018(第三种方法亲测可用!)

    有没有最新win10教育版激活密钥?win10教育版功能比较全面,增加了一些学术上需要的功能.有用户装了win10教育版,提示需要产品密钥,网上找到的win10教育版永久激活码大多失效,这边小编为大家 ...

  4. office2019下载以及激活密钥(亲测可用)

    office2019激活密钥 W8W6K-3N7KK-PXB9H-8TD8W-BWTH9  或者: 链接:https://pan.baidu.com/s/1Ch0rc2ZN9I_lwmbjGESTuw ...

  5. c# post方法亲测可用

    /// <summary> /// Post接口方法 /// </summary> /// <param name="requestUri">& ...

  6. win10 激活(亲测可用)

    转自http://www.ylmfwin100.com/ylmf/8643.html 1.以管理员身份运行命令行(这一步一定要做) 2.依次输入以下命令 slmgr.vbs /upk (此时弹出窗口显 ...

  7. windows 2003 远程桌面无法使用剪贴板共享纯文本的解决方法(亲测可用)

    远程桌面无法使用剪贴板共享纯文本的解决方法========================================以下操作须在远程桌面上操作,本地机没用的!================== ...

  8. 在线激活Pycharm(亲测有效)

    (1)在激活界面的License server输入:http://idea.liyang.io:或者:点击help→Register→License sever ,输入http://idea.liya ...

  9. IDEA 2019.2及以下版本永久激活教程(亲测可用)

    写在前面 由于最近jetbrains公司开始严厉打击盗版激活码,所以导致一大批激活码失效,我身边的小伙伴对于如此苦恼,但是由于考虑到正版费用还是比较高昂的前提下,所以鉴于此,遂将之前整理的jar包激活 ...

随机推荐

  1. python文件管道 下载图集

    # -*- coding: utf-8 -*- import re from time import sleep import scrapy from scrapy.linkextractors im ...

  2. js 如何获取浏览器的高度?

    <SCRIPT LANGUAGE="JavaScript"><!--var s = ""; s += " 网页可见区域宽:" ...

  3. ABAP分享十: 文件的上传 方法一

    前提条件:PARAMETERS P_files TYPE RLGRAP-FILENAME. AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_files.一.文件的 ...

  4. 开源 Open Source

    FREE 开源不等于免费 代表自由 开源 Open Source软件和源代码提供给所有人,自由分发软件和源代码能够修改和创建衍生作品软件分类:商业   收费使用  代码不公开共享  免费用 代码不公开 ...

  5. Semaphore(信号灯)

    public class SemaphoreDemo { public static void main(String[] args) { //三个停车位 Semaphore sp = new Sem ...

  6. Oracl Linux KVM虚拟机备份

    Oracle Linux  KVM 作为Oracle Linux的一部分,基于KVM的Oracle Linux 服务器虚拟化解决方案在功能上得到了增强.用户可以利用Oracle Linux旧版本,将操 ...

  7. Java IO相关使用

    date: 2020-06-14 14:42:22 updated: 2020-08-21 17:35:45 Java IO相关使用 1. 文件 创建 File 对象的三种方式 一个路径名:File( ...

  8. origin添加两个Y轴

    1. 选中X和两个Y 2. 点击Double Y 3. 关掉gap to Symbol,否则Line+Symbol这种显示方式可能显示不出线条 ​

  9. CTF:sctf_2019_easy_heap

    这个题目当时比赛的时候靶机据说是ubuntu16.04,但是迁移到buu上就变成了ubuntu18.04,下面针对两个平台给出不同的解法,先写一下18.04下的 先来逆一下,关键点有一下几个 mmap ...

  10. 注意由双大括号匿名类引起的serialVersionUID编译告警

    问题描述 最近版本组织清理编译告警,其中有这么一条比较有意思,之前没见过,拿出来说一说 "serializable class anonymous com.demo.Main$1 has n ...