add version information to debug output