public void go(final XScriptContext xsctxt, InputStream in) {
Main sdb = initUI(xsctxt);
// Open a stream in the debugger
sdb.openStream(in);
}
// This code is based on the main method of the Rhino Debugger Main class
// We pass in the XScriptContext in the global scope for script execution
private Main initUI(final XScriptContext xsctxt) {