当前位置:网站首页>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-winform)
- Calibre LVL
- Idea does not specify an output path for the module
- App mobile terminal test [5] file writing and reading
- WinDbg analysis dump file
- Popular understanding of linear regression (I)
- Second kill system 3 - list of items and item details
- 视觉上位系统设计开发(halcon-winform)-5.相机
- WinDbg分析dump文件
- 《微服务设计》读书笔记(下)
猜你喜欢

求字符串函数和长度不受限制的字符串函数的详解

Jvm-08-garbage collector

Redis lock Optimization Practice issued by gaobingfa

Leasing cases of the implementation of the new regulations on the rental of jointly owned houses in Beijing

Halcon and WinForm study section 1

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

Kubernetes 进阶训练营 Pod基础

String functions that you need to know

Automatic generation of client code from flask server code -- Introduction to flask native stubs Library

Introduction to redis master-slave, sentinel and cluster mode
随机推荐
The state does not change after the assignment of El switch
Introduction series of software reverse cracking (1) - common configurations and function windows of xdbg32/64
App移动端测试【5】文件的写入、读取
Get the executable path through the process PID (queryfullprocessimagename)
Unityshader - materialcapture material capture effect (Emerald axe)
Can‘t connect to MySQL server on ‘localhost‘
Baidu AI Cloud helps Shizuishan upgrade the smart health care model of "Internet + elderly care services"
Win32 create window and button (lightweight)
win32创建窗口及按钮(轻量级)
自定义注解
socket. IO build distributed web push server
Secsha system 1- login function
Halcon与Winform学习第二节
CString getbuffer and releasebuffer instructions
需要知道的字符串函数
Basic SQL tutorial
Reading notes of "micro service design" (Part 2)
视觉上位系统设计开发(halcon-winform)-1.流程节点设计
Kubernetes - YAML文件解读
子类隐藏父类的同名函数