enhanced debug output