CBLT-283:  add DEBUG output

Change-Id: I51dbd02cbe393fc9eee53d4998fa42a0c79e14f8
Reviewed-on: http://review.couchbase.org/36765
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>