Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging
This guide walks you through IntelliJ IDEA 2021’s revamped Profiler, the new microservice call‑graph analysis for Spring Boot, Micronaut and Quarkus, the Docker‑based run configurations, and the built‑in JSONPath expression debugger, showing how to leverage each feature to improve development efficiency.
Preface
Hello, I am 如梦技术 Spring哥 (mica) the author of the open‑source project, and it has been six months since the last "idea 小姿势" article. New readers can first check the previously published idea tips series:
idea 一周小姿势【01】
idea 一周小姿势【02】
Idea 开启机器学习增强代码提示
01 Profiler (Detector)
IntelliJ IDEA 2021.1 has refactored the Profiler to be easier to use. Access the analyzer window via Find Action or the quick‑access button; it shows a list of running processes.
Click a process in the Profiler window to edit its configuration.
Right‑click a process to view real‑time CPU and memory usage.
The Profiler window displays the running processes list. Click one to attach a Profiler, for example the CPU analyzer. The IDE then shows results such as a flame graph.
02 Microservice Call Relationship Analysis
Cool! In IntelliJ IDEA 2021.2 EAP you can analyze microservice call relationships, supporting SpringBoot, Micronaut and Quarkus.
03 New Run Modes
IntelliJ IDEA 2021.1 adds new program run modes. Set a run target, for example using Docker to run a Spring Boot application. You can configure Docker, SSH, or WSL run targets for Spring Boot, Micronaut, and Quarkus applications.
04 JSONPath Expression Debugging
IntelliJ IDEA 2021.1 supports debugging JSONPath expressions. You can open a window to debug a JSONPath expression.
If a JSON file is opened, it will be used to debug the expression.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.