On one side it could mean that less money leaves. That is no dividends are paid to outside the country. All profits stay in.
On other hand the economy overall and stock market especially have enormously increased due to outside investments. As injection of money in later one directly pushes valuations up. And the borrowing is only possible when someone loans money...