Selecting an application to run or debug