diff --git a/exec/load/binkp.js b/exec/load/binkp.js
index 7f439f9e2284baedf8fdc882060e721367b5bde4..102dbd1cb1e1ca782759ef9c4b8dedc1624ec74c 100644
--- a/exec/load/binkp.js
+++ b/exec/load/binkp.js
@@ -643,6 +643,7 @@ BinkP.prototype.session = function()
 	while(!js.terminated && this.sock !== undefined) {
 		// We want to wait if we have no more files to send or if we're
 		// skipping files.
+log(LOG_DEBUG, "Loop: senteob='"+this.senteob+"', sentempty='"+this.sentempty+"', goteob='"+this.goteob+"', gotempty='"+this.gotempty+"', pending_ack.length='"+this.pending_ack.length+"', receiving undefined = '"+(this.receiving === undefined)+"');
 		cur_timeout = 0;
 		if (this.senteob)
 			cur_timeout = this.timeout;