The debt load of developing countries jumped to $9.4 trillion as high interest rates and other global shocks batter their economies.