When you want to load swank without gonig through the normal, Emacs based, process just load the swank-loader.lisp file. Just execute
(load "/path/to/swank-loader.lisp")
inside a running lisp image1. Now all we
need to do is startup our swank server. This example assumes we're
using the default settings, if you need to do anything particular
(like be able to reconnect to swank after you're done, look into
swank:create-server's other arguments).
(swank:create-server)
Since we're going to be tunneling our connection via ssh2 and we'll only have on port open we want to tell swank to not use an extra connection for output:
(setf swank:*use-dedicated-output-stream* nil)