Added getpid support to debugger