There are lot of other options like canada. Can you compare the salary/revenue to the people who make better in Bangalore than in Toronto?
Consider the conversation here: https://news.ycombinator.com/item?id=21107264
200k CAD is roughly comparable to 3 million INR in PPP terms, and that salary is for senior folks. Most senior engineers at Google Bangalore/Hyderabad or well established software companies are likely to make more than that.
Both might be considered to be salaries for remote offices of American companies or internationally funded startups. But if I look at the market in general, I’d rather be a software engineer in India than in Canada. The market is too big and the possibilities are too varied to ignore, even considering all the known problems (Canada might also have some of its own, I’m sure).