emit a debug_message with timings around each shellcmd