As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
How to debug the code in sdk4 using docker?
The default `docker-compose.yml` file that ships with the SDK4, will enable debugging in Alfresco and exposes the debug port to your localhost.
Once you start Alfresco in docker (`run.sh start` or whatever you use), you are able to debug your code by attaching a remote debugger to e.g. localhost:8888
The port can be configured by following Maven property:
<acs.debug.port>8888</acs.debug.port>