A little extra instrumentation when scidb.debug=TRUE