Added debugPlot.