Yes they did, edinburgh was considered a target for German bombers due to the lowering of public morale when the city was destroyed causing the British people to get the Govt to sue for an early peace, one one occasion they hit a whisky distilliary, which started a fire that lasted several days. My dad was 9 when the war started and he remembered it well, he also heard the German bombers flying over Edinburgh on their way to bomb the docks in Glasgow
The first contact between British + German forces took place over Edinburgh in the first days of the war, a spitfire which is now on display at Edinburgh's Turnhouse airport shot down a German aircraft, the German pilot spent the rest of the war as a POW in Edinbugh castle