Remote Debugging

Different languages have different tools and protocols for remote debugging, but most require a connection between the running application code and the debugging tool or IDE on a port and protocol other than standard HTTP or HTTPS.

Helion Stackato makes this possible through the Harbor port service, and the stackato push command has a -d option to set up port forwarding for a remote debugging session automatically.

See the JPDA Debugging section of the Java deployment documentation for an example.


The stackato client can automatically start a local debugger client or IDE instance with connection information for a newly pushed application.

When the -d debugging option is given to stackato push command, the client looks for a STACKATO_DEBUG_COMMAND environment variable. If present, the command specified in that variable is run after the push completes as child process in the foreground (blocking the parent stackato process) in the local application source directory.

Special %HOST% and %PORT% variables can be used in this command, which are replaced with the hostname or IP address and port number of the new Harbor debugging service.