GDB supports two types of remote connections, target remote mode and target extended-remotemode. Note that many remote targets support only target remote mode. By deploying a GDB connector together with Exploit Pack you can debug in real time your exploit and feed it directly to GDB.
How to use Exploit Pack's GDB Connector:
Go to Tools -> GDB connector and select the "GDB connector", you will be prompted with the code needed. Select it and paste it in your Linux box, chmod+x the .sh file and run it to get it working. Remember to carefully modify the following options accordingly:
hostname = "127.0.1.1" # Exploit Pack IP - change it to your remote IP