How much debt is it okay to go in?

PhD’s in Chemistry are not earning big bucks