I have no idea what I've done wrong but I'm working on the same code from two machines and when debugging on my Mac when PhpStorm hits the relevant breakpoint, there are only the $this and PHP Post variables available. At the same point in the application on my Win PC I have the other PHP variables available that I expect to see. I've compared the settings and not seen any difference. However, I'm not an expert at Php so I'm not sure where to look. I'm not 100% sure those variables have ever been displayed on my Mac.
Does anybody know a solution to this?
I've changed to MAMP since it has been updated much more recently on OS x and my problems have disappeared. It's likely that my problems had nothing to do with PhpStorm to begin with.
=> on OS x use MAMP instead of XAMPP if you don't know the ins&outs of debug configuration