Improved debug logging.
Merge branch 'test' into dev