cancel
Showing results for 
Search instead for 
Did you mean: 

Debug in SDK4

yash_patel_c2
Star Contributor
Star Contributor

How to debug the code in sdk4 using docker?

1 REPLY 1

kerkhofsd
Confirmed Champ
Confirmed Champ

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>