Remote Debugging WSO2 Identity Server handlers using Eclipse

This article describes how to debug wso2 Identity Server custom handlers using eclipse.

Step 1: Start wso2 identity server as debug mode.

Linux Environment
wso2server.sh -debug 5005

Windows Environment
wso2server.bat -debug 5005

You will see the cmd like given below. (Remote debug using windows)

Step 2 : Import any of custom handler to Eclipse IDE and do the following configurations.

  1. Click Run > Debug Configurations

2. Select Remote Java Application > Right Click and Click New Configuration

3. Add Following details (Name , Project , Host, Port) and Click Debug

4. Put Debug points to import handler , do the transaction and see the debugging.

That’s all !!