There's a fair amount of thought behind what the ideal debt ratio should be for a company, but basically the goal is to minimize the cost of capital while maximizing market value.^[1]
[1]: https://www.investopedia.com/terms/o/optimal-capital-structu...