How to display all services and ports in the Service window in IDEA

The microservice starts in configuration mode in the service window

1.idea version

  首先我使用的版本是**2021.3.3**,service窗口中可以以配置方式启动微服务,一般是配置不同端口号启动。

2. Bring up the Service window

Open View→Tool Windows→Service, as shown below.
Please add a picture description
In the initial situation without starting the server, the effect is as shown in the figure:

Please add a picture description

3. Configure the project startup type of the Service window. Microservices are generally of the Springboot type. So here is a choice.

Click the last + sign and click Run Configuration Type.Please add a picture description
Please add a picture description

After finding it, the effect picture is as follows:
Please add a picture description
every time you restart the project, just right click and click return

Guess you like

Origin blog.csdn.net/Alian_auerua/article/details/129676380