Updated to show type in DEBUG message