Add a debug() function to allow command line debugging of the vcs code