move debug utils to base class; reuse path_to
always log systemu results
log exit status