Printing debug info in getData().