added specs to test debug messages from execpipe
fixed execpipe to print meaningful debug messages