When debugging an executable in XCode, I very often have to open up a terminal window, navigate to the executable's working directory and do some work there. Is there any way to have XCode automatically open a terminal window at this location each time I debug my program?