[英]Executing multiple java process on same VisualCode workspace
I have three springboot app in a visual Studio code workspace.我在 Visual Studio 代码工作区中有三个 springboot 应用程序。 All three configured to run on unique port.Is it possible to start all three springboot service on the same workspace?所有三个都配置为在唯一端口上运行。是否可以在同一个工作区上启动所有三个 springboot 服务? Earlier I have seen options where one can select the select the terminals for each process.早些时候,我看到了可以选择 select 和 select 的每个进程的终端。 Anysuggestion would be of great help.任何建议都会有很大帮助。
You can create a launch.json
and compound the three projects.您可以创建一个launch.json
并复合这三个项目。
Create a launch.json
, which should generate configurations automatically.创建一个launch.json
,它应该会自动生成配置。
Add compound
args.添加compound
参数。 Compound configurations list the names of the above three launch configuration.复合配置列出了上述三个启动配置的名称。
"compounds": [ { "name": "Compound", "configurations": ["Launch Demo1Application","Launch Demo2Application","Launch DemoApplication"] } ]
compound
then debug. Select compound
然后调试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.