for unit testing logging, use attached debugger if present