better debugging for running a process