When you just need to get some reliable coffee and aren't sure where the best local coffee shops are, heading to a chain is a safe choice.
In Edinburgh, there are a number of coffee chains such as Costa, Caffè Nero, Pret a Manger, and Starbucks.
With so many of the latter scattered around Edinburgh, you're likely to always be within walking distance to one of the coffee shops.