As much as I love Edinburgh, and hope the technology sector and economy there (and in Scotland as a whole) thrives, it has to be said that the technology job market is currently very small in comparison to London. Some stats to put this in perspective: There are 328,000 "digital tech jobs" in London[0], the entire population of Edinburgh is 464,990[1], and Edinburgh is the 11th biggest technology cluster in the UK with 21,000 "digital tech jobs"[0].
And if you're thinking of relocating your family from the US, there are 5 American schools in and around London[2], whereas I believe the only one in Scotland is in Aberdeen[3].