add debug logging to row.js