Rajapaksha didn't push Sri Lanka into a debt pool. That is a blatant perpetuated by his political opponents. Infact during his tenure, foreign debt percentage was reduced against national GDP. The port is leased to China just to show that the port is a white elephant.
How can H'tota port's commercial viability is going to be low when the proposed "Kra Canal" is completed? Moreover, Where are the financial investigations done for the viability of the H'tota port? Which Indian companies have done it?
The perplexing this to me is that, when during Rajapaksha's time India cried fowl over Chinese submarine docking in the Sri Lankan ports. But India says nothing about impending Chinese take over of the H'tota port area? It seems that the only threat to Indian national security is Chinese subs docking in SL harbors and not that China is leasing a 15,000 acres of real estate just few hundred kilometers south of Indian mainland.