IDEA2019及以上版本打开Run Dashboard的方法步骤

1、什么是Run Dashboard

当springcloud的服务有多个时,管理多个服务的启动使用run会不好管理,这样我们就可以使用Run Dashboard。

2019及以上版本的IDEA当你同时启动两个微服务时,发现依然不会弹出启动Run Dashboard窗口的提示,其实是因为IDEA将Run Dashboard添加到控制台Service中,我们在Service中启动各个模块。

2、 具体步骤:

  • 点击:Services
    IDEA2019及以上版本打开Run Dashboard的方法步骤_第1张图片

  • 点击:Add Service–>Run Configuration Type

    IDEA2019及以上版本打开Run Dashboard的方法步骤_第2张图片

  • 点击:Spring Boot
    IDEA2019及以上版本打开Run Dashboard的方法步骤_第3张图片

  • 效果:
    IDEA2019及以上版本打开Run Dashboard的方法步骤_第4张图片


另一种方法:

找到 .idea/workspace.xml
添加如下配置:

 <component name="RunDashboard">
    <option name="configurationTypes">
      <set>
        <option value="SpringBootApplicationConfigurationType" />
      set>
    option>
  component>

你可能感兴趣的:(工具篇,Spring全家桶,spring)