If you happen to be visiting in August or going for the military tattoo, find some live performance as part of the festival.
I wasn't intending to attend the Fringe festival but found 2 random shows of interest and of professional quality.
That said, if you don't like crowds...don't visit Edinburgh in AUG.