For information on how to locate federal legislative histories, see the Library's Federal Legislative History guide.
State legislative histories' availability vary by state, so it's best to consult a state-specific legal research guide. Indiana University's State Legislative History Research Guides Inventory guide provides an index of state legislatures and legislative history research guides.