Improved debug info, printing type of the sinks and the sources