Intellij :
- Open IGB in IntelliJ.
- Run IGB in debug mode using the IntelliJ terminal:
For Windows: Run the following command:
./run_igb.bat -d
For Mac: Run the following command:
sh run_igb.sh -d
- You will see the following message displayed in the terminal:
Listening for transport dt_socket at address: 5005
- Open the IGB App that you want to debug in a new window using IntelliJ.
- In the top-right corner of IntelliJ, click on Edit Configurations.
- Select Remote JVM Debug and configure the following settings
- Debugger mode: Attach to remote JVM
- Transport: Socket
- Host: localhost
- Port: 5005
- Click Apply, then OK.
- Start debugging the Remote JVM attached.
NetBeans :
Start IGB through a terminal on Mac/Linux
sh run_igb.sh -d
Start IGB through a terminal on Windows
run_igb -d
- You will see the following message displayed in the terminal:
Listening for transport dt_socket at address: 5005
- Open NetBeans and open the projects you want to debug.
- Attach a debugger by going to Debug > Attach Debugger and configure the following settings
- Click ok.
All projects in NetBeans run in debug mode.