-
The docker readme contains a Developers corner section to explains how to debug a module such as security-proxy, console, etc...
But Is it still possible to debug in this way? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
oh... proxy section is just one example... I guess this works with another |
Beta Was this translation helpful? Give feedback.
-
After some test, i fail to attach a debug session to a container (gateway in this case). Steps followed :
Here container infos :
Local geOrchestra is available here : I'm not really sur about that the hostName value is correct. Has someone already tested to debug like that ? |
Beta Was this translation helpful? Give feedback.
-
I close. This config works fine to debug gateway : 1. change
2. Run 3. With VS Code (because I use it), create debug file : in
4. Debug |
Beta Was this translation helpful? Give feedback.
I close.
This config works fine to debug gateway :
https://github.com/georchestra/georchestra-gateway/blob/ba9a8c5ff4ed5046d61e437cdf4a14481094d946/docker-compose.yml#L45-L51
1. change
georchestra/docker-compose.yaml
to use this config (JAVA_TOOLS_OPTIONS
andPORTS
values are required)