Added some logging for the debug target