to put into perspective: phd graduants in Germany can earn 48k EUR per year in the beginning. (not every subject but certainly in CS), this is 10 % above average income in Germany and definitely decent. And yes, some phd student decided to stay in Germany because of these conditions.