PacktPublishing / Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud

Hands-On Microservices with Spring Boot and Spring Cloud, published by Packt
MIT License
464 stars 406 forks source link

debug individual microservices outside of docker #4

Closed datasmithadvtech closed 4 years ago

datasmithadvtech commented 4 years ago

My windows desktop , server 2012 R2, doesn't support containers, so i want to debug individual microservices within intellij outside of docker.

jars are not created for individual microservices, such as review

I am not familiar with gradle, however, i can if i convert to maven project i can create the missing jars

magnus-larsson commented 4 years ago

If you are using Intellij, it should not be a problem to debug individual microservices outside of Docker!

Simply import the desired chapter from the book into Intellij and it will detect that it is using Gradle and set up everything for you.

Then you can start, for example, the review service in debug mode and catch breakpoints as pointed out by the provided screenshot.

Screenshot 2020-04-26 at 18 23 59

Does that answer your question?

magnus-larsson commented 4 years ago

The issuer has confirmed via email that it is ok to close this issue.