Debug WSO2 products using IntelliJ
Debugging is one of the most common techniques used by developers to find and fix errors in their code. Today, from this article we will discuss how to debug WSO2 products using the IntelliJ IDE.
In this tutorial, we will be using wso2/product-is as an example. You can clone or download the wso2/product-is from this GitHub link.
There are a few steps to this. Let’s go through them one by one 😊.
1️⃣Setup the debug configuration
First, open the product-is repository that you cloned or downloaded from IntelliJ.
Then open Run/Debug Configurations (This can be done in several ways, one method is to select Run | Edit Configurations from the main menu or we can use the Edit Configurations from the run/debug configuration selector).
After that, as shown in the image click on the + icon in the top left and select Remote JVM Debug.
Then add a name you like also if you want you can change the port number as well 😉.