Make sure you build your project first before you create a launch configuration for it.
For more information about launch configurations, see Use a Launch Configuration to Run and Debug Your Application and Launch configuration types.
To create a launch configuration: