Following a fatal attack on a railway employee, a debate has erupted in Germany about how such incidents can be prevented.