Manually Installing the Remote Agent

Index of All Documentation » Wing Pro Reference Manual » Project Manager » Remote Hosts »


If for some reason you cannot use Wing's automated installation of the remote agent, you can install it manually as follows:

  • Find the package matching your remote host in bin/remote in your Wing installation, copy it to the remote host, and unpack it. The resulting directory can be renamed if desired.
  • Run chmod +x wingdb in the install directory to make that file executable
  • Set WINGHOME in your remote host configuration to match the install location (this should be the full path of the directory that contains remoteagent.py)

If you plan to use wingdbstub to initiate debug from outside of Wing, as described in Debugging Externally Launched Remote Code you'll also need to:

  • Copy wingdbstub.py from your Wing installation to the remote host and place it in WINGHOME
  • Set WINGHOME in wingdbstub.py to the WINGHOME on remote host
  • Set kWingHostPort in wingdbstub.py to localhost:50050 (assuming default debug port settings)
  • Copy the wingdebugpw file from the host where the IDE is into WINGHOME on the remote system. The file is in the user settings directory, which is listed 5th in Wing's About box (accessed from the Help menu).

Once this is done, Wing should be able to probe and use the remote host from the Remote Hosts dialog in the Project menu.