所以我基本上想要通过多个jar文件调试所有不同的微服务,这些微服务向/从彼此的API发送/接收消息。我现在所做的是从我的命令行运行每个jar文件,如java -jar -Xdebug -Xrunjdwp:transport = dt_socket,server = y,suspend = n,address = 5005 *** .jar并进行远程调试与我的intellij在同一个端口。
我想知道是否可以将所有jar文件放入一个配置中并在Intellij的一个调试会话中启动它们?
答案 0 :(得分:0)
Are the micro services runnable on a webserver like Tomcat? If so, you can download the webserver, add it to IntelliJ and deploy these three micro services in the same run configuration. You should then be able to debug that run configuration and debug these at the same time.