1. Open Adempiere\jboss\bin\run.bat
2. There is a command "rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%"
3. delete "rem" from the code , So server will listen to the port 8787
4. open eclipse -> Debug Configuration -> Remote Java Application , Then, create a new configuraion,
Give the configuration name : 'AdempiereWeb'(anything)
Give the Project Name,
Connection Type : Standard(Socket Attach)
Host : localhost
Port : 8787
5. Run Adempiere370\utils\RUN_Server2.bat
It will start and waiting to the response from the port 8787.
6. Debug the 'AdempiereWeb' configuration
7 set the debug break points on the class, It will detect the break points ; DONE