
dashboard.png
JetBrains自IntelliJ IDEA 2017.2.1——其中包含了所謂的“運行儀表板”——以一種方便的方式維護(啟動、停止、調試等)。
但是,有時在啟動應用時,指示板不會立即顯示出來,有2種方法可以解決這個問題
- 配置中設置
點擊help >> edit custom vm options,并啟用“Spring Boot Settings”->“Show in run dashboard”:
-Dide.run.dashboard=true。

activateRunDashboard.gif
如果你不幸沒有“Spring Boot Settings”->“Show in run dashboard”這個選項,可以選擇edit configuration編輯template,選擇springboot

image.png

image.png
- 工程目錄下找.idea文件夾下的workspace.xml
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>