added support for varargs in debug.getparams