When you are doing some customizations, you may have to debug the custom codes. I'm going to give you steps to start the debug with Eclipse.
Step 1 :- First you need to start the product with below command.
sh wso2server.sh -debug 5005
When you start the server with above command, Server is listening for the port 5005.
Step 2 :- Open the debug configuration window and create a new Remote Java Application.
Keep the host as localhost and give the port which you started in the first step.
After do the modifications, you can start debug by clicking Debug button in Debug Configuration Window. If you configured correctly, Server will be started without any problem.
Step 1 :- First you need to start the product with below command.
sh wso2server.sh -debug 5005
When you start the server with above command, Server is listening for the port 5005.
Step 2 :- Open the debug configuration window and create a new Remote Java Application.
Keep the host as localhost and give the port which you started in the first step.
After do the modifications, you can start debug by clicking Debug button in Debug Configuration Window. If you configured correctly, Server will be started without any problem.
Comments
Post a Comment