The IDE connects the source code to the deployed one at the docker container. Once the code is linked, you can open a browser and start using your
application. In our case, we are going to test the behaviour of debugging by running the sample webscript.
@@ -81,7 +81,7 @@ application. In our case, we are going to test the behaviour of debugging by run
This is a sample webscript generated in every project created using SDK 4.0 and the platform artifact.


Now let's find the `HelloWorldWebScript.java` file in the `src/main/java/.../platformsample` folder of your project. If you're using an All-In-One project,
the folder is located in the platform sub-project.
10. Refresh the browser. Eclipse will intercept the execution at the breakpoint:


From here the management is the same as for a regular Java application using your preferred IDE. Please note that the whole Alfresco source code is available
at debug time, thanks to the local maven repository.
4. Check that your settings match the screenshot. This is a sample to debug ACS. If you want to debug share or you have configured custom ports for remote
debugging you'll need to modify that configuration. If you're working with _Docker Toolbox_ instead of _Docker Desktop_ the host to access the container won't
@@ -70,7 +70,7 @@ You will be taken back to the project source code.
6. Click on the `Edit Configurations` dropdown box and select the new configuration to run it.
The IDE connects the source code with the deployed one at the docker container. Once the code is linked, you can open a browser and start using your
application. In our case, we are going to test the behaviour of debugging by running the sample webscript.
@@ -79,7 +79,7 @@ application. In our case, we are going to test the behaviour of debugging by run
This is a sample webscript generated in every project created using SDK 4.0 and the platform artifact.


Now let's find the `HelloWorldWebScript.java` file in the `src/main/java/.../platformsample` folder of your project. If you're using an All-In-One project,
the folder is located in the platform sub-project.
9. Refresh the browser. IntelliJ IDEA will intercept the execution at the breakpoint:


From here the management is the same as for a regular Java application using your preferred IDE. Please note that the whole Alfresco source code is available
at debug time, thanks to the local maven repository.
@@ -252,7 +252,7 @@ You'll recognize HotSwapAgent is working when you see similar log messages:
This is a sample webscript generated in every project created using SDK 4.0 and the platform artifact.


3. Locate `HelloWorldWebScript.java` in the `src/main/java/.../platformsample` folder of your project (If you are using an All-In-One project, the folder is
located in the platform sub-project).
@@ -280,6 +280,6 @@ A number of log messages appear in the Alfresco project terminal, for example:
6. Refresh the browser to see the updated message:


By changing the code and compiling it again, the changes have been dynamically received from Alfresco Content Services.