当前位置:网站首页>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/
边栏推荐
- Halcon and WinForm study section 1
- Atlas atlas torque gun USB communication tutorial based on mtcom
- Jvm-08-garbage collector
- CString在多线程中的问题
- Visual upper system design and development (Halcon WinForm) -1 Process node design
- App移动端测试【3】ADB命令
- [cloud native training camp] module VIII kubernetes life cycle management and service discovery
- Stress test WebService with JMeter
- Seckill system 3- product list and product details
- Kubernetes - yaml file interpretation
猜你喜欢

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

Seckill system 2 redis solves the problem of distributed session

高并发下之redis锁优化实战

Detailed explanation of string function and string function with unlimited length

App移动端测试【3】ADB命令

Vs2017 is driven by IP debugging (dual machine debugging)

Visual upper system design and development (Halcon WinForm) -3 Image control

C语言刷题~Leetcode与牛客网简单题

Solve the problem that pushgateway data will be overwritten by multiple push

Find mapping relationship
随机推荐
The state does not change after the assignment of El switch
Concurrency-01-create thread, sleep, yield, wait, join, interrupt, thread state, synchronized, park, reentrantlock
How are integer and floating-point types stored in memory
Calibre LVL
Kubernetes带你从头到尾捋一遍
Popular understanding of gradient descent
Matplotlib drawing label cannot display Chinese problems
视觉上位系统设计开发(halcon-winform)
秒杀系统2-Redis解决分布式Session问题
mysql innodb 存储引擎的特性—行锁剖析
详解指针进阶2
Large CSV split and merge
Jvm-03-runtime data area PC, stack, local method stack
找映射关系
Halcon and WinForm study section 2
百度智能云助力石嘴山市升级“互联网+养老服务”智慧康养新模式
leetcode_ Power of Four
如何使用 @NotNull等注解校验 并全局异常处理
视觉上位系统设计开发(halcon-winform)-1.流程节点设计
QT common sentence notes