Debug in SDK4

cancel
Showing results for 
Search instead for 
Did you mean: 
Established Member

Debug in SDK4

How to debug the code in sdk4 using docker?

1 Reply
Active Member II

Re: Debug in SDK4

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>