add debugging code to d3data route