I think we need to remember that debt is debt. China has loaded Africa up with a lot of debt. If those investments don't work out well for those countries, they'll be paying back their debts and making less than they borrowed - and it's not like China is all their debt, or even in most cases half. One can argue nobody forced African countries to take on those loans, but again, the history here is not pretty.
Secondly, China has some interestingly designed loan plans (those we can see, because some of them are unusually opaque and hidden from scrutiny) but they are absolutely designed to make sure China is paid back. China might restructure them when needed, but they're restructured so that China gets its money back in the end: the debt will roll on. If China has set terms it gets paid back first (it does that), that still leaves plenty of creditors - and Western banks that are those other creditors will be knocking on the door as well anyway: debt is debt.
So I fundamentally don't think debt to China is any better than debt to the West - they'll just end up in debt to the usual suspects of global finance either way. It's just debt, and when a country is in too deep, it'll end up at the door of the IMF anyway (as has already happened to one African country to meet its debt repayments to China, I believe).
I am going to be quite honest and say that I look at China's authoritarian, oppressive state and say... I don't like it. Sure, our countries have arrogant self-regard and blindness to their sins too, but at least we're able to freely talk about them and change the message. And we're not chucking huge numbers of ethnic minorities into concentration camps for re-education and allegedly even sterilisation (or more strictly, a great deal less, if we think about some indigenous peoples in Western countries): I mean, China is genociding some of its own ethnic groups. Neighbouring countries like Taiwan, Vietnam, Philippines and Japan already have China militarily breathing heavily at them, and far and wide China is seeking to re-write history and how people view the world in its image - it does threaten countries for narratives that don't meet Chinese preferences.
It buys into places like Africa and it is also buying political support - subservience, really. So do our countries. But honestly, for all that the West supports foreign dictators and rapacious capitalism, it also promotes ideas of social freedom that I hold dear. For instance, you can watch a Hollywood movie that says the government is rubbish, families are shit, portrays gay people and alternative lifestyles positively (or even at all), etc. You won't get that from China. So I do think that there's a trade off here. Even if China's debt is more benign than the West's (which I remain unconvinced of), is it worth a load of the other stuff that's going to come with China's power and influence, spreading across the globe? I think mostly not.