当前位置:网站首页>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/
边栏推荐
- Tensorflow realizes verification code recognition (II)
- qt使用QZxing生成二维码
- Find mapping relationship
- 视觉上位系统设计开发(halcon-winform)-2.全局变量设计
- Jvm-04-runtime data area heap, method area
- C language brush questions ~leetcode and simple questions of niuke.com
- 《微服务设计》读书笔记(下)
- SQL server installation location cannot be changed
- Popular understanding of linear regression (I)
- 秒杀系统3-商品列表和商品详情
猜你喜欢

秒殺系統3-商品列錶和商品詳情
![[cloud native training camp] module 7 kubernetes control plane component: scheduler and controller](/img/a4/2156b61fbf50db65fdf59c8f5538f8.png)
[cloud native training camp] module 7 kubernetes control plane component: scheduler and controller

Introduction, use and principle of synchronized

Redis cache penetration, cache breakdown, cache avalanche solution

视觉上位系统设计开发(halcon-winform)-4.通信管理

Introduction series of software reverse cracking (1) - common configurations and function windows of xdbg32/64

Subclass hides the function with the same name of the parent class

Kubernetes带你从头到尾捋一遍

Reading notes of "micro service design" (Part 2)

Popular understanding of linear regression (II)
随机推荐
Jvm-06-execution engine
Reading notes of "micro service design" (Part 2)
Find mapping relationship
秒殺系統3-商品列錶和商品詳情
Popular understanding of gradient descent
Get the executable path through the process PID (queryfullprocessimagename)
求字符串函数和长度不受限制的字符串函数的详解
如何使用 @NotNull等注解校验 并全局异常处理
Redis single thread problem forced sorting layman literacy
子类隐藏父类的同名函数
Halcon and WinForm study section 2
VS2017通过IP调试驱动(双机调试)
Characteristics of MySQL InnoDB storage engine -- Analysis of row lock
视觉上位系统设计开发(halcon-winform)-3.图像控件
使用AUR下载并安装常用程序
Jvm-04-runtime data area heap, method area
Kubernetes will show you from beginning to end
Reentrantlock usage and source code analysis
Atlas atlas torque gun USB communication tutorial based on mtcom
Concurrency-01-create thread, sleep, yield, wait, join, interrupt, thread state, synchronized, park, reentrantlock