当前位置:网站首页>How idea starts run dashboard
How idea starts run dashboard
2022-07-03 15:34:00 【crysw】
1. Use scenarios
IDEA In the development tools run or debug Mode to start multiple SpringBoot When applied , The log console is arranged above the window , When the call between services involves log tracking , It is inconvenient to switch quickly to view log information . As shown in the figure below :
IDEA Provides a powerful Dashboard function ( Run the dashboard
), You can manage the above multi application startup instances .
Visualize the project we configured , convenient spring boot Project reconfiguration 、Run、Debug, It simplifies our operation steps .
2. Turn on Run Dashboard
Different versions IDEA Turn on Run Dashboard In a different way .
2.1 2018 And previous versions
Mode one
In the configuration spring boot Project time , Find out 2018 Version of idea The project is starting , A window will pop up Run Dashboard, Click every time , For normal use , So how do you set that Run Dashboard Automatic use ? You need to click the first option in the figure below ;
Then the following Run Dashboard window
Mode two
find .idea
Below workspace.xml file , Add a configuration code to the following code .
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
<option name="contentProportion" value="0.22874807" />
</component>
Configuration code to be added
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
Be accomplished ,idea After starting Run Dashboard Start automatically in the project . The final code is as follows :
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
<option name="contentProportion" value="0.22874807" />
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
</component>
2.2 2019 And later versions
IDEA stay 2019 The version has made great changes , No more Run Dashboard window , In its place Services
window . find .idea
Below workspace.xml file , Add a configuration code .
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
</component>
start-up SpringBoot After the application , appear Services
window . Switch the application startup console here , It's too convenient to check the log .
Personal blog
Welcome to personal blog : https://www.crystalblog.xyz/
Alternate address : https://wang-qz.gitee.io/crystal-blog/
边栏推荐
- How to use annotations such as @notnull to verify and handle global exceptions
- qt使用QZxing生成二维码
- Driver and application communication
- Jvm-08-garbage collector
- Intelij idea efficient skills (III)
- [cloud native training camp] module 7 kubernetes control plane component: scheduler and controller
- Find mapping relationship
- 北京共有产权房出租新规实施的租赁案例
- Popular understanding of linear regression (II)
- Leasing cases of the implementation of the new regulations on the rental of jointly owned houses in Beijing
猜你喜欢
[cloud native training camp] module 7 kubernetes control plane component: scheduler and controller
Detailed pointer advanced 2
《微服务设计》读书笔记(下)
The markdown file obtains the pictures of the network and stores them locally and modifies the URL
Redis主从、哨兵、集群模式介绍
Creation and destruction of function stack frames
Halcon与Winform学习第二节
Visual upper system design and development (Halcon WinForm) -5 camera
Automatic generation of client code from flask server code -- Introduction to flask native stubs Library
Redis cache penetration, cache breakdown, cache avalanche solution
随机推荐
[combinatorics] combinatorial identities (recursive combinatorial identities | sum of variable terms | simple combinatorial identities and | sum of variable terms | staggered sums of combinatorial ide
Subclass hides the function with the same name of the parent class
从 flask 服务端代码自动生成客户端代码 -- flask-native-stubs 库介绍
Microservices - load balancing ribbon
Reading notes of "micro service design" (Part 2)
VC下Unicode和ANSI互转,CStringW和std::string互转
Get the executable path through the process PID (queryfullprocessimagename)
Jvm-05-object, direct memory, string constant pool
如何使用 @NotNull等注解校验 并全局异常处理
大csv拆分和合并
Baidu AI Cloud helps Shizuishan upgrade the smart health care model of "Internet + elderly care services"
Problems of CString in multithreading
How to use annotations such as @notnull to verify and handle global exceptions
Srs4.0+obs studio+vlc3 (environment construction and basic use demonstration)
Detailed pointer advanced 2
String functions that you need to know
GCC cannot find the library file after specifying the link library path
秒杀系统1-登录功能
Halcon与Winform学习第一节
Jvm-03-runtime data area PC, stack, local method stack