Repository navigation
|
Hello, I'm working on some pull request. Unfortunately since Keycloak 20 I really have trouble debugging my code in Eclipse. I just want to put breakpoint and see what happen in the code when I run my test. To edit keycloak code basicaly I open just the module I want to modify in Eclipse, and then rerun a clean install with maven on this module. Then I run my test which is in Debug as maven ...
and forkCount = 0 This was working "well" with Keycloak 15 but I can't made it works anymore. I have an issue that I only encounter when running the maven command like above from Eclipse Do you have any other way to debug Keycloak code in eclipse ? Or IntelliJ if it's easier. |
Replies: 2 comments
|
If one contributor or team member working on keycloak with quarkus recently could write a very basic documentation on how to debug it would be very appreciable and usefull for every contributor :) Thank you ! |
|
Finally the answer I was looking for was in the README of the quarkus folder here https://github.com/keycloak/keycloak/tree/main/quarkus It's really easy to debug in the end, just import the server in IntelliJ and run it in debug mode, and import other sub-modules as maven module in IntelliJ next to the server to put breakpoint and develop. It works really well, quarkus is great |
Finally the answer I was looking for was in the README of the quarkus folder here
https://github.com/keycloak/keycloak/tree/main/quarkus
It's really easy to debug in the end, just import the server in IntelliJ and run it in debug mode, and import other sub-modules as maven module in IntelliJ next to the server to put breakpoint and develop.
It works really well, quarkus is great