Deployer Extensions with Eclipse - Step 7: Debug your code from Eclipse

In this step you will learn how to start the deployer in debug mode from eclipse and iterate step by step over your code.

Tutorial Steps

Running the deployer from Eclipse in Debug mode

  1. Set  a breakpoint in within Eclipse in the line where you want to start debugging, by double clicking in the left margin of your editor window
  2. Start the deployer in Debug Mode.  Right Click over it and click on "Debug as ... >> Java Application"
  3. Your deployer is now running from eclipse  in Debug Mode
  4. You are ready to check your code again. Drag & Drop the package (zip file) we saved in the very first step into your incoming folder. Remember to clean up first the incoming folder, i.e. it should be empty, so no files or folders within the Incoming folder.  
  5. Eclipse is in debug mode and stops the execution in the line where you set your break point
  6. Now you can debug your code, check variables, step in & over, etc... 

Next Step: Other considerations and tips

Move on to the next step of this tutorial: Other considerations and tips

Update (2023-07-19): updated links.