Skip to content

docker - Is debugging still possible ? #331

Closed Answered by Gaetanbrl
Gaetanbrl asked this question in Q&A
Discussion options

You must be logged in to vote

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 and PORTS values are required)

  gateway:
    image: georchestra/gateway:latest
    depends_on:
      - database
    volumes:
      - georchestra_datadir:/etc/georchestra
    environment:
      - DEBUG=yes
      - JAVA_TOOL_OPTIONS=-Dgeorchestra.datadir=/etc/georchestra -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005
    env_file:
      - .envs-common
      - .envs-ldap
      - .envs-hosts
      - .envs-data…

Replies: 3 comments 1 reply

Comment options

Gaetanbrl
Jan 9, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

Gaetanbrl
Jan 10, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

Gaetanbrl
Jan 14, 2025
Collaborator Author

You must be logged in to vote
1 reply
@pmauduit
Comment options

Answer selected by Gaetanbrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #330 on January 09, 2025 16:22.