Major legislation still set for debate just days before session's end