Yep, I'm a engineering manager/ software developer so that's exactly it. Glasgow does have good jobs but Edinburgh is just too good to ignore. I presently do Subway to Queen St then the express.
At least most places are Hybrid or Remote First now which makes it easier!