add doc version to debugging message