I'm writing simple C command line programs as exercises in Xcode. They require input arguments at startup ( the char * argv in main.c). Is there a way to run the programs in Xcode rather than the Mac system terminal? The Debug console just seems to run programs without arguments and accept arguments while the program is running (such as from getchar or scanf), but how can I use it to enter the arguments at startup? I can't get the programs to run from the terminal either. I don't want to have to compile and go to the terminal every time I test the program. If I can run the startup commands from within Xcode that would be nice.