Perhaps a better question is amount of debt per undergrad. If this link is any indication, school price does appear to impact debt load. For example, debt for many Cal State grads is <$20. Florida publics are ~$23k. In comparison, many grads of Pennsylvania schools have a debt load 2x that amount. (And as many Pennsylvanians will point out, their state publics are not inexpensive.)
https://ticas.org/posd/map-state-data#overlay=posd/state_data/2018/pa