start of debug feature to aid in tracking down issues.