CBQE-2318: added code to debug this CBQE

Change-Id: Id2388265f449c35425d2d140b955d138209b7d26
Reviewed-on: http://review.couchbase.org/39235
Reviewed-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>
Tested-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>