Fixed bad variable call

Debug is now being passed directly to foreman class.